Skip to content

Commit 0d29b8c

Browse files
committed
tools: update GitHub workflow actions
Update the GitHub workflow actions and use versions instead of commit SHAs.
1 parent dfbe36f commit 0d29b8c

10 files changed

+10
-10
lines changed

.github/workflows/authors.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: '0' # This is required to actually get all the authors
2020
persist-credentials: false
2121
- run: tools/update-authors.mjs # Run the AUTHORS tool
22-
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
22+
- uses: gr2m/create-or-update-pull-request-action@v1
2323
# Creates a PR or update the Action's existing PR, or
2424
# no-op if the base branch is already up-to-date.
2525
env:

.github/workflows/close-stale-feature-requests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: github.repository == 'nodejs/node'
4040
runs-on: ubuntu-latest
4141
steps:
42-
- uses: actions/stale@v4
42+
- uses: actions/stale@v7
4343
with:
4444
repo-token: ${{ secrets.GITHUB_TOKEN }}
4545
days-before-stale: 180

.github/workflows/close-stalled.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.repository == 'nodejs/node'
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/stale@v4
23+
- uses: actions/stale@v7
2424
with:
2525
repo-token: ${{ secrets.GITHUB_TOKEN }}
2626
days-before-close: 30

.github/workflows/find-inactive-collaborators.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: tools/find-inactive-collaborators.mjs
3434

3535
- name: Open pull request
36-
uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
36+
uses: gr2m/create-or-update-pull-request-action@v1
3737
# Creates a PR or update the Action's existing PR, or
3838
# no-op if the base branch is already up-to-date.
3939
env:

.github/workflows/find-inactive-tsc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: tools/find-inactive-tsc.mjs >> $GITHUB_ENV
4343

4444
- name: Open pull request
45-
uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
45+
uses: gr2m/create-or-update-pull-request-action@v1
4646
# Creates a PR or update the Action's existing PR, or
4747
# no-op if the base branch is already up-to-date.
4848
env:

.github/workflows/license-builder.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
persist-credentials: false
2323
- run: ./tools/license-builder.sh # Run the license builder tool
24-
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
24+
- uses: gr2m/create-or-update-pull-request-action@v1
2525
# Creates a PR or update the Action's existing PR, or
2626
# no-op if the base branch is already up-to-date.
2727
env:

.github/workflows/linters.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
- uses: actions/checkout@v3
167167
with:
168168
persist-credentials: false
169-
- uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f
169+
- uses: mszostok/codeowners-validator@v0.7.4
170170
with:
171171
checks: files,duppatterns
172172
lint-pr-url:

.github/workflows/notify-force-push.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Slack Notification
17-
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7
17+
uses: rtCamp/action-slack-notify@v2
1818
env:
1919
SLACK_COLOR: '#DE512A'
2020
SLACK_ICON: https://github.com/nodejs.png?size=48

.github/workflows/timezone-update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: echo "${{ env.new_version }}" > test/fixtures/tz-version.txt
4141

4242
- name: Open Pull Request
43-
uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee # Create a PR or update the Action's existing PR
43+
uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
4646
with:

.github/workflows/tools.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
- run: ${{ matrix.run }}
133133
env:
134134
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
135-
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
135+
- uses: gr2m/create-or-update-pull-request-action@v1
136136
# Creates a PR or update the Action's existing PR, or
137137
# no-op if the base branch is already up-to-date.
138138
env:

0 commit comments

Comments
 (0)