-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #495 from GSA/auto-add-issues
Add new issues to GSA Project Board
- Loading branch information
Showing
5 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: Deployment Failure | ||
labels: bug | ||
--- | ||
|
||
Workflow with Issue: {{ workflow }} | ||
Job Failed: {{ env.GITHUB_JOB }} | ||
Last Commit: {{ env.LAST_COMMIT }} | ||
Number of times run: {{ env.GITHUB_ATTEMPTS }} | ||
Last run by: {{ env.LAST_RUN_BY }} | ||
Github Action Run: https://github.com/GSA/inventory-app/actions/runs/{{ env.RUN_ID }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: Restart Failure | ||
labels: bug | ||
--- | ||
|
||
Workflow with Issue: {{ workflow }} | ||
Job Failed: {{ env.GITHUB_JOB }} | ||
Last Commit: {{ env.LAST_COMMIT }} | ||
Number of times run: {{ env.GITHUB_ATTEMPTS }} | ||
Last run by: {{ env.LAST_RUN_BY }} | ||
Most Recent Failure: https://github.com/GSA/inventory-app/actions/runs/{{ env.RUN_ID }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: Add New Issues to GH Projects | ||
|
||
on: # yamllint disable-line rule:truthy | ||
issues: | ||
types: [opened, labeled] | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add issue to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: 'https://github.com/orgs/GSA/projects/11/views/1' | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters