fix complain

This commit is contained in:
Jacob Heider 2023-12-13 11:23:45 -05:00
parent cfee7f34b4
commit 6e9c29e003
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6
2 changed files with 4 additions and 9 deletions

View file

@ -5,9 +5,6 @@ inputs:
pkg: pkg:
description: project to complain about description: project to complain about
required: true required: true
platform:
description: platform key
required: true
token: token:
description: github token description: github token
required: true required: true
@ -23,7 +20,7 @@ runs:
actions: 'find-issues' actions: 'find-issues'
token: ${{ inputs.token }} token: ${{ inputs.token }}
issue-state: 'open' issue-state: 'open'
title-includes: "❌ build issues: ${{ inputs.pkg }}" title-includes: '❌ build issues: ${{ inputs.pkg }}'
labels: 'build-failure' labels: 'build-failure'
- name: Create Issue - name: Create Issue
@ -33,8 +30,8 @@ runs:
with: with:
actions: 'create-issue' actions: 'create-issue'
token: ${{ inputs.token }} token: ${{ inputs.token }}
title: "❌ build issues: ${{ inputs.pkg }}" title: '❌ build issues: ${{ inputs.pkg }}'
body: "Running log of build failure for ${{ inputs.pkg }}" body: 'Running log of build failure for ${{ inputs.pkg }}'
labels: 'build-failure' labels: 'build-failure'
assignees: 'jhheider' assignees: 'jhheider'
@ -47,6 +44,5 @@ runs:
body: | body: |
# Build failure # Build failure
## ${{ inputs.pkg }} ## ${{ inputs.pkg }}
### ${{ inputs.platform }}
logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

View file

@ -48,5 +48,4 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ./.github/actions/complain - uses: ./.github/actions/complain
with: with:
pkg: ${{ inputs.pkg }} pkg: ${{ inputs.projects }}
platform: ${{ inputs.name }}