Skip to content

Commit

Permalink
Added open issue on failed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
louisa-uno committed Jul 18, 2022
1 parent 9ee196f commit cce9de4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/update_package_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,17 @@ jobs:
git pull --rebase
git fetch
git push -f origin HEAD:auto-update
- name: Create Issue on Failed workflow
if: ${{ failure() }}
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
title: Action workflow failed.
body: |
### Context
[Failed Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
[Codebase](https://github.com/${{ github.repository }}/tree/${{ github.sha }})
Workflow name - `${{ github.workflow }}`
Job - `${{ github.job }}`
status - `${{ job.status }}`
assignees: Luois45

0 comments on commit cce9de4

Please sign in to comment.