Skip to content

Commit 849ddb6

Browse files
authored
Switch back to using major-only versions for actions (#99)
## Summary: In #96 I changed the versions tags in the comments to use pinned versions. This was due to a change in Khan/actions that stopped the publish script from updating the major-only tags. Khan/actions#146 has restored this behaviour which means that Khan/gerald can again use major-only versions in comments specifying versions of GitHub actions. Issue: None ## Test plan: - see that CI checks pass Author: kevinb-khan Reviewers: jeresig, somewhatabstract Required Reviewers: Approved By: jeresig Checks: ✅ 4 checks were successful Pull Request URL: #99
1 parent c8adc7c commit 849ddb6

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: composite
66
steps:
77
- name: Setup pnpm
8-
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
8+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
99
with:
1010
run_install: false
1111

.github/workflows/gerald-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Run Gerald
9-
uses: Khan/gerald@5b4582365dafc568f0f67d29f7db637bd0c2ddf9 # main
9+
uses: Khan/gerald@c8adc7c2ff208e7a0a76b48d660d00e406d17ee4 # main
1010
env:
1111
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
1212
ADMIN_PERMISSION_TOKEN: '${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}'

.github/workflows/gerald-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
if: github.event.action != 'edited' || github.event.changes.base != null
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: Khan/actions@4d214ec8e52a4d617fe1ba2a56dda8ff1bc3f0dd # gerald-pr-v3.1.7
21+
- uses: Khan/actions@14c32221dcaf87e592416d6a4de5d85924d899b7 # gerald-pr-v3
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424
admin-token: ${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}

.github/workflows/gerald-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# We add one to the length because we want to get the diff between the last commit and the commit before the first commit.
1717
fetch-depth: '$(node -e "console.log(${{ github.event.commits }}.length + 1)")'
1818
- name: Run Gerald
19-
uses: Khan/gerald@5b4582365dafc568f0f67d29f7db637bd0c2ddf9 # main
19+
uses: Khan/gerald@c8adc7c2ff208e7a0a76b48d660d00e406d17ee4 # main
2020
env:
2121
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
2222
ADMIN_PERMISSION_TOKEN: '${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}'

.github/workflows/pr-autofix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
uses: ./.github/actions/setup
1515

1616
- name: Get All Changed Files
17-
uses: Khan/actions@42489a21fc83e59db35ae5be08209db29981c823 # get-changed-files-v2.1.4
17+
uses: Khan/actions@c72fbe11ecb7b2d2e327d5e372c4e90bd461e233 # get-changed-files-v2
1818
id: changed
1919
with:
2020
directories: src/
2121

2222
- id: changed-js
2323
name: Find .js changed files
24-
uses: Khan/actions@b0a6a316f61b34d7eed199051f1130247c86cee1 # filter-files-v2.1.2
24+
uses: Khan/actions@62b87ee091634f22dbcf87e3cb69e4bd7d6827a7 # filter-files-v2
2525
if: always()
2626
with:
2727
changed-files: ${{ steps.changed.outputs.files }}

0 commit comments

Comments
 (0)