test the failed-build-issue action #3
Workflow file for this run
This file contains hidden or 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
name: Build action test | |
on: | |
# Trigger the workflow on push or pull request, but only on main branch | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
issues: write # for failed-build-issue action | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
try-failued-build-issue: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: jayqi/failed-build-issue-action@1a893bbf43ef1c2a8705e2b115cd4f0fe3c5649b # v1.2.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |