Skip to content

Commit

Permalink
make fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gtwang01 committed Aug 8, 2024
1 parent 6fcc6c7 commit 3599172
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,12 @@ jobs:
if: fromJSON(github.run_attempt) < 2
runs-on: ubuntu-latest
steps:
- env:
- name: Start rerun workflow
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.github_token }}
GH_DEBUG: api
run: |
gh workflow run retry_build.yml |
--ref ${{ github.ref_name }} |
gh workflow run retry_build.yml \
--ref ${{ github.ref_name }} \
-F run_id=${{ github.run_id }}
1 change: 1 addition & 0 deletions .github/workflows/retry_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
required: true
jobs:
rerun-on-failure:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: rerun ${{ inputs.run_id }}
Expand Down

0 comments on commit 3599172

Please sign in to comment.