Skip to content

Commit

Permalink
Try to close control issue when build stops failing
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Jun 28, 2024
1 parent 96a9137 commit 95032bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,11 @@ jobs:
- name: Notify on failed build
uses: jayqi/failed-build-issue-action@v1.2.0
if: failure() && github.event.pull_request == null
id: failed-build
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Maybe close failure notification
if: success() && github.event.pull_request == null
run: |
gh issue close ${{steps.failed-build.outputs.issue-number}}

0 comments on commit 95032bd

Please sign in to comment.