Skip to content

Commit

Permalink
refactor: Update pr-merged workflow to pin actions SHAs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Anguiano committed Jun 25, 2024
1 parent d38d3e8 commit 40cde64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-merged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Temporarily disable branch protections
id: disable-branch-protection
if: always()
uses: actions/github-script@v6
uses: actions/github-script@${{ vars.ACTIONS_GITHUB_SCRIPT_SHA }}
with:
github-token: ${{ secrets.OPENSOURCE_BOT_TOKEN }}
script: |
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Re-enable branch protections
id: enable-branch-protection
if: always()
uses: actions/github-script@v6
uses: actions/github-script@${{ vars.ACTIONS_GITHUB_SCRIPT_SHA }}
with:
github-token: ${{ secrets.OPENSOURCE_BOT_TOKEN }}
script: |
Expand Down

0 comments on commit 40cde64

Please sign in to comment.