-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate github issue on scan-image job error
- Loading branch information
1 parent
35616c1
commit b37b5b4
Showing
1 changed file
with
13 additions
and
0 deletions.
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 |
---|---|---|
|
@@ -176,3 +176,16 @@ jobs: | |
severity: CRITICAL | ||
timeout: 25m0s | ||
skip-files: /opt/rclone-v1.60.1-linux-amd64/README.txt, /opt/rclone-v1.60.1-linux-amd64/README.html, /opt/rclone-v1.60.1-linux-amd64/rclone.1 | ||
- name: Generate issue on job failure | ||
if: always() && failure() | ||
uses: JasonEtco/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_WORKFLOW: ${{ env.GITHUB_WORKFLOW }} | ||
GITHUB_SERVER_URL: ${{ env.GITHUB_SERVER_URL }} | ||
GITHUB_REPOSITORY: ${{ env.GITHUB_REPOSITORY }} | ||
GITHUB_RUN_ID: ${{ env.GITHUB_RUN_ID }} | ||
with: | ||
filename: .github/job_failure_issue_template.md | ||
update_existing: true | ||
search_existing: open |