Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Commit cf4208c

Browse files
authored
ci: update of files from global .github repo (#227)
1 parent 9799759 commit cf4208c

14 files changed

+54
-58
lines changed

.github/workflows/add-good-first-issue-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Add label
18-
uses: actions/github-script@v6
18+
uses: actions/github-script@v7
1919
with:
2020
github-token: ${{ secrets.GH_TOKEN }}
2121
script: |

.github/workflows/automerge-for-humans-add-ready-to-merge-or-do-not-merge-label.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Add ready-to-merge label
29-
uses: actions/github-script@v6
29+
uses: actions/github-script@v7
3030
with:
3131
github-token: ${{ secrets.GH_TOKEN }}
3232
script: |
@@ -78,7 +78,7 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Add do-not-merge label
81-
uses: actions/github-script@v6
81+
uses: actions/github-script@v7
8282
with:
8383
github-token: ${{ secrets.GH_TOKEN }}
8484
script: |
@@ -100,7 +100,7 @@ jobs:
100100
runs-on: ubuntu-latest
101101
steps:
102102
- name: Add autoupdate label
103-
uses: actions/github-script@v6
103+
uses: actions/github-script@v7
104104
with:
105105
github-token: ${{ secrets.GH_TOKEN }}
106106
script: |

.github/workflows/automerge-for-humans-remove-ready-to-merge-label-on-edit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Remove label
19-
uses: actions/github-script@v6
19+
uses: actions/github-script@v7
2020
with:
2121
github-token: ${{ secrets.GH_TOKEN }}
2222
script: |

.github/workflows/automerge-orphans.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Get list of orphans
19-
uses: actions/github-script@v6
19+
uses: actions/github-script@v7
2020
id: orphans
2121
with:
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -58,7 +58,7 @@ jobs:
5858
markdown: "-> [${{steps.orphans.outputs.title}}](${{steps.orphans.outputs.url}})"
5959
- if: steps.orphans.outputs.found == 'true'
6060
name: Send info about orphan to slack
61-
uses: rtCamp/action-slack-notify@v2
61+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
6262
env:
6363
SLACK_WEBHOOK: ${{secrets.SLACK_CI_FAIL_NOTIFY}}
6464
SLACK_TITLE: 🚨 Not merged PR that should be automerged 🚨

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
github-token: "${{ secrets.GH_TOKEN_BOT_EVE }}"
2525

2626
- name: Label autoapproved
27-
uses: actions/github-script@v6
27+
uses: actions/github-script@v7
2828
with:
2929
github-token: ${{ secrets.GH_TOKEN }}
3030
script: |

.github/workflows/bounty-program-commands.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: ❌ @${{github.actor}} made an unauthorized attempt to use a Bounty Program's command
35-
uses: actions/github-script@v6
36-
35+
uses: actions/github-script@v7
3736
with:
3837
github-token: ${{ secrets.GH_TOKEN }}
3938
script: |
@@ -59,8 +58,7 @@ jobs:
5958

6059
steps:
6160
- name: Add label `bounty`
62-
uses: actions/github-script@v6
63-
61+
uses: actions/github-script@v7
6462
with:
6563
github-token: ${{ secrets.GH_TOKEN }}
6664
script: |
@@ -101,8 +99,7 @@ jobs:
10199

102100
steps:
103101
- name: Remove label `bounty`
104-
uses: actions/github-script@v6
105-
102+
uses: actions/github-script@v7
106103
with:
107104
github-token: ${{ secrets.GH_TOKEN }}
108105
script: |

.github/workflows/help-command.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Add comment to PR
17-
uses: actions/github-script@v6
17+
uses: actions/github-script@v7
1818
with:
1919
github-token: ${{ secrets.GH_TOKEN }}
2020
script: |
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Add comment to Issue
46-
uses: actions/github-script@v6
46+
uses: actions/github-script@v7
4747
with:
4848
github-token: ${{ secrets.GH_TOKEN }}
4949
script: |

.github/workflows/if-go-pr-testing.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,22 @@ jobs:
3333
shell: bash
3434
- if: steps.should_run.outputs.shouldrun == 'true'
3535
name: Checkout repository
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
- if: steps.should_run.outputs.shouldrun == 'true'
3838
name: Check if Go project and has go.mod
3939
id: gomod
4040
run: test -e ./go.mod && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT
4141
shell: bash
4242
- if: steps.gomod.outputs.exists == 'true'
4343
name: Setup Go
44-
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # using 4.0.0 https://github.com/actions/setup-go/releases/tag/v4.0.0
44+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # using 5.3.0 https://github.com/actions/setup-go/releases/tag/v4.0.0
4545
with:
4646
go-version: 1.18
4747
- if: steps.gomod.outputs.exists == 'true'
4848
name: golangci-lint
49-
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # using v3.4.0 https://github.com/golangci/golangci-lint-action/releases/tag/v3.4.0
49+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # using v6.5.1 https://github.com/golangci/golangci-lint-action/releases/tag/v3.4.0
5050
# golangci-lint version extracted from go.mod. `latest` if missing.
51-
with:
52-
skip-go-installation: true # we wanna control the version of Go in use
51+
# The skip-go-installation option has been removed https://github.com/golangci/golangci-lint-action/tree/v6.5.1?tab=readme-ov-file#compatibility
5352

5453
test-go-pr:
5554
name: Test Go PR - ${{ matrix.os }}
@@ -80,15 +79,15 @@ jobs:
8079
shell: bash
8180
- if: steps.should_run.outputs.shouldrun == 'true'
8281
name: Checkout repository
83-
uses: actions/checkout@v3
82+
uses: actions/checkout@v4
8483
- if: steps.should_run.outputs.shouldrun == 'true'
8584
name: Check if Go project and has go.mod
8685
id: gomod
8786
run: test -e ./go.mod && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT
8887
shell: bash
8988
- if: steps.gomod.outputs.exists == 'true'
9089
name: Setup Go
91-
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # using 4.0.0 https://github.com/actions/setup-go/releases/tag/v4.0.0
90+
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # using 5.3.0 https://github.com/actions/setup-go/releases/tag/v4.0.0
9291
with:
9392
go-version: 1.18
9493
- if: steps.gomod.outputs.exists == 'true'

.github/workflows/issues-prs-notifications.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
markdown: "[${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}"
2828
- name: Send info about issue
29-
uses: rtCamp/action-slack-notify@v2
29+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
3030
env:
3131
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}}
3232
SLACK_TITLE: 🐛 New Issue in ${{github.repository}} 🐛
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
markdown: "[${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}"
4646
- name: Send info about pull request
47-
uses: rtCamp/action-slack-notify@v2
47+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
4848
env:
4949
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}}
5050
SLACK_TITLE: 💪 New Pull Request in ${{github.repository}} 💪
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
markdown: "[${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}"
6464
- name: Send info about pull request
65-
uses: rtCamp/action-slack-notify@v2
65+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
6666
env:
6767
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}}
6868
SLACK_TITLE: 💬 New Discussion in ${{github.repository}} 💬

.github/workflows/notify-tsc-members-mention.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636
- name: Setup Node.js
37-
uses: actions/setup-node@v3
37+
uses: actions/setup-node@v4
3838
with:
3939
node-version: 16
4040
cache: 'npm'
@@ -48,7 +48,7 @@ jobs:
4848
with:
4949
markdown: "[${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}"
5050
- name: Send info about issue
51-
uses: rtCamp/action-slack-notify@v2
51+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
5252
env:
5353
SLACK_WEBHOOK: ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
5454
SLACK_TITLE: 🆘 New issue that requires TSC Members attention 🆘
@@ -61,7 +61,7 @@ jobs:
6161
run: npm install
6262
working-directory: ./.github/workflows/scripts/mailchimp
6363
- name: Send email with MailChimp
64-
uses: actions/github-script@v6
64+
uses: actions/github-script@v7
6565
env:
6666
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
6767
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
@@ -77,9 +77,9 @@ jobs:
7777
runs-on: ubuntu-latest
7878
steps:
7979
- name: Checkout repository
80-
uses: actions/checkout@v3
80+
uses: actions/checkout@v4
8181
- name: Setup Node.js
82-
uses: actions/setup-node@v3
82+
uses: actions/setup-node@v4
8383
with:
8484
node-version: 16
8585
cache: 'npm'
@@ -93,7 +93,7 @@ jobs:
9393
with:
9494
markdown: "[${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}"
9595
- name: Send info about pull request
96-
uses: rtCamp/action-slack-notify@v2
96+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
9797
env:
9898
SLACK_WEBHOOK: ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
9999
SLACK_TITLE: 🆘 New PR that requires TSC Members attention 🆘
@@ -106,7 +106,7 @@ jobs:
106106
run: npm install
107107
working-directory: ./.github/workflows/scripts/mailchimp
108108
- name: Send email with MailChimp
109-
uses: actions/github-script@v6
109+
uses: actions/github-script@v7
110110
env:
111111
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
112112
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
@@ -122,9 +122,9 @@ jobs:
122122
runs-on: ubuntu-latest
123123
steps:
124124
- name: Checkout repository
125-
uses: actions/checkout@v3
125+
uses: actions/checkout@v4
126126
- name: Setup Node.js
127-
uses: actions/setup-node@v3
127+
uses: actions/setup-node@v4
128128
with:
129129
node-version: 16
130130
cache: 'npm'
@@ -138,7 +138,7 @@ jobs:
138138
with:
139139
markdown: "[${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}"
140140
- name: Send info about pull request
141-
uses: rtCamp/action-slack-notify@v2
141+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
142142
env:
143143
SLACK_WEBHOOK: ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
144144
SLACK_TITLE: 🆘 New discussion that requires TSC Members attention 🆘
@@ -151,7 +151,7 @@ jobs:
151151
run: npm install
152152
working-directory: ./.github/workflows/scripts/mailchimp
153153
- name: Send email with MailChimp
154-
uses: actions/github-script@v6
154+
uses: actions/github-script@v7
155155
env:
156156
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
157157
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
@@ -167,9 +167,9 @@ jobs:
167167
runs-on: ubuntu-latest
168168
steps:
169169
- name: Checkout repository
170-
uses: actions/checkout@v3
170+
uses: actions/checkout@v4
171171
- name: Setup Node.js
172-
uses: actions/setup-node@v3
172+
uses: actions/setup-node@v4
173173
with:
174174
node-version: 16
175175
cache: 'npm'
@@ -183,7 +183,7 @@ jobs:
183183
with:
184184
markdown: "[${{github.event.issue.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
185185
- name: Send info about issue comment
186-
uses: rtCamp/action-slack-notify@v2
186+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
187187
env:
188188
SLACK_WEBHOOK: ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
189189
SLACK_TITLE: 🆘 New comment under existing issue that requires TSC Members attention 🆘
@@ -196,7 +196,7 @@ jobs:
196196
run: npm install
197197
working-directory: ./.github/workflows/scripts/mailchimp
198198
- name: Send email with MailChimp
199-
uses: actions/github-script@v6
199+
uses: actions/github-script@v7
200200
env:
201201
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
202202
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
@@ -212,9 +212,9 @@ jobs:
212212
runs-on: ubuntu-latest
213213
steps:
214214
- name: Checkout repository
215-
uses: actions/checkout@v3
215+
uses: actions/checkout@v4
216216
- name: Setup Node.js
217-
uses: actions/setup-node@v3
217+
uses: actions/setup-node@v4
218218
with:
219219
node-version: 16
220220
cache: 'npm'
@@ -228,7 +228,7 @@ jobs:
228228
with:
229229
markdown: "[${{github.event.issue.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
230230
- name: Send info about PR comment
231-
uses: rtCamp/action-slack-notify@v2
231+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
232232
env:
233233
SLACK_WEBHOOK: ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
234234
SLACK_TITLE: 🆘 New comment under existing PR that requires TSC Members attention 🆘
@@ -241,7 +241,7 @@ jobs:
241241
run: npm install
242242
working-directory: ./.github/workflows/scripts/mailchimp
243243
- name: Send email with MailChimp
244-
uses: actions/github-script@v6
244+
uses: actions/github-script@v7
245245
env:
246246
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
247247
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}
@@ -257,9 +257,9 @@ jobs:
257257
runs-on: ubuntu-latest
258258
steps:
259259
- name: Checkout repository
260-
uses: actions/checkout@v3
260+
uses: actions/checkout@v4
261261
- name: Setup Node.js
262-
uses: actions/setup-node@v3
262+
uses: actions/setup-node@v4
263263
with:
264264
node-version: 16
265265
cache: 'npm'
@@ -273,7 +273,7 @@ jobs:
273273
with:
274274
markdown: "[${{github.event.discussion.title}}](${{github.event.comment.html_url}}) \n ${{github.event.comment.body}}"
275275
- name: Send info about discussion comment
276-
uses: rtCamp/action-slack-notify@v2
276+
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # Using v2.3.2
277277
env:
278278
SLACK_WEBHOOK: ${{secrets.SLACK_TSC_MEMBERS_NOTIFY}}
279279
SLACK_TITLE: 🆘 New comment under existing discussion that requires TSC Members attention 🆘
@@ -286,7 +286,7 @@ jobs:
286286
run: npm install
287287
working-directory: ./.github/workflows/scripts/mailchimp
288288
- name: Send email with MailChimp
289-
uses: actions/github-script@v6
289+
uses: actions/github-script@v7
290290
env:
291291
CALENDAR_ID: ${{ secrets.CALENDAR_ID }}
292292
CALENDAR_SERVICE_ACCOUNT: ${{ secrets.CALENDAR_SERVICE_ACCOUNT }}

0 commit comments

Comments
 (0)