Skip to content

Commit cce9de4

Browse files
author
Luois45
committed
Added open issue on failed workflow
1 parent 9ee196f commit cce9de4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/update_package_list.yml

+14
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,17 @@ jobs:
3434
git pull --rebase
3535
git fetch
3636
git push -f origin HEAD:auto-update
37+
- name: Create Issue on Failed workflow
38+
if: ${{ failure() }}
39+
uses: dacbd/create-issue-action@main
40+
with:
41+
token: ${{ github.token }}
42+
title: Action workflow failed.
43+
body: |
44+
### Context
45+
[Failed Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
46+
[Codebase](https://github.com/${{ github.repository }}/tree/${{ github.sha }})
47+
Workflow name - `${{ github.workflow }}`
48+
Job - `${{ github.job }}`
49+
status - `${{ job.status }}`
50+
assignees: Luois45

0 commit comments

Comments
 (0)