Skip to content

Commit c13c12a

Browse files
committed
Unpin "actions/*" GitHub Actions
… as requested by @hugovk
1 parent e28a74e commit c13c12a

10 files changed

+36
-31
lines changed

.github/dependabot.yml

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ updates:
77
labels:
88
- "skip issue"
99
- "skip news"
10+
ignore:
11+
- dependency-name: "actions/*"
12+
update-types:
13+
- "version-update:semver-minor"
14+
- "version-update:semver-patch"
1015
- package-ecosystem: "pip"
1116
directory: "/Tools/clinic/"
1217
schedule:

.github/workflows/build.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run_hypothesis: ${{ steps.check.outputs.run_hypothesis }}
4343
config_hash: ${{ steps.config_hash.outputs.hash }}
4444
steps:
45-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
45+
- uses: actions/checkout@v3
4646
- name: Check for source changes
4747
id: check
4848
run: |
@@ -123,9 +123,9 @@ jobs:
123123
needs: check_source
124124
if: needs.check_source.outputs.run_tests == 'true'
125125
steps:
126-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
126+
- uses: actions/checkout@v3
127127
- name: Restore config.cache
128-
uses: actions/cache@v3
128+
- uses: actions/setup-python@v3
129129
with:
130130
path: config.cache
131131
key: ${{ github.job }}-${{ runner.os }}-${{ needs.check_source.outputs.config_hash }}
@@ -186,7 +186,7 @@ jobs:
186186
env:
187187
IncludeUwp: 'true'
188188
steps:
189-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
189+
- uses: actions/checkout@v3
190190
- name: Build CPython
191191
run: .\PCbuild\build.bat -e -d -p Win32
192192
- name: Display build info
@@ -203,7 +203,7 @@ jobs:
203203
env:
204204
IncludeUwp: 'true'
205205
steps:
206-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
206+
- uses: actions/checkout@v3
207207
- name: Register MSVC problem matcher
208208
run: echo "::add-matcher::.github/problem-matchers/msvc.json"
209209
- name: Build CPython
@@ -225,7 +225,7 @@ jobs:
225225
HOMEBREW_NO_INSTALL_CLEANUP: 1
226226
PYTHONSTRICTEXTENSIONBUILD: 1
227227
steps:
228-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
228+
- uses: actions/checkout@v3
229229
- name: Restore config.cache
230230
uses: actions/cache@v3
231231
with:
@@ -260,7 +260,7 @@ jobs:
260260
OPENSSL_VER: 1.1.1u
261261
PYTHONSTRICTEXTENSIONBUILD: 1
262262
steps:
263-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
263+
- uses: actions/checkout@v3
264264
- name: Register gcc problem matcher
265265
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
266266
- name: Install Dependencies
@@ -272,7 +272,7 @@ jobs:
272272
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
273273
- name: 'Restore OpenSSL build'
274274
id: cache-openssl
275-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
275+
uses: actions/cache@v3
276276
with:
277277
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
278278
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -333,7 +333,7 @@ jobs:
333333
OPENSSL_DIR: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}
334334
LD_LIBRARY_PATH: ${{ github.workspace }}/multissl/openssl/${{ matrix.openssl_ver }}/lib
335335
steps:
336-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
336+
- uses: actions/checkout@v3
337337
- name: Restore config.cache
338338
uses: actions/cache@v3
339339
with:
@@ -350,7 +350,7 @@ jobs:
350350
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
351351
- name: 'Restore OpenSSL build'
352352
id: cache-openssl
353-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
353+
uses: actions/cache@v3
354354
with:
355355
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
356356
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -381,7 +381,7 @@ jobs:
381381
OPENSSL_VER: 1.1.1u
382382
PYTHONSTRICTEXTENSIONBUILD: 1
383383
steps:
384-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
384+
- uses: actions/checkout@v3
385385
- name: Register gcc problem matcher
386386
run: echo "::add-matcher::.github/problem-matchers/gcc.json"
387387
- name: Install Dependencies
@@ -393,7 +393,7 @@ jobs:
393393
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
394394
- name: 'Restore OpenSSL build'
395395
id: cache-openssl
396-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
396+
uses: actions/cache@v3
397397
with:
398398
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
399399
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}
@@ -491,7 +491,7 @@ jobs:
491491
PYTHONSTRICTEXTENSIONBUILD: 1
492492
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
493493
steps:
494-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
494+
- uses: actions/checkout@v3
495495
- name: Restore config.cache
496496
uses: actions/cache@v3
497497
with:
@@ -512,7 +512,7 @@ jobs:
512512
echo "LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/multissl/openssl/${OPENSSL_VER}/lib" >> $GITHUB_ENV
513513
- name: 'Restore OpenSSL build'
514514
id: cache-openssl
515-
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
515+
uses: actions/cache@v3
516516
with:
517517
path: ./multissl/openssl/${{ env.OPENSSL_VER }}
518518
key: ${{ runner.os }}-multissl-openssl-${{ env.OPENSSL_VER }}

.github/workflows/build_msi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
matrix:
3434
type: [x86, x64, arm64]
3535
steps:
36-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
36+
- uses: actions/checkout@v3
3737
- name: Build CPython installer
3838
run: .\Tools\msi\build.bat --doc -${{ matrix.type }}

.github/workflows/lint.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
timeout-minutes: 10
1616

1717
steps:
18-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
19-
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v4
2020
with:
2121
python-version: "3.x"
2222
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0

.github/workflows/mypy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
runs-on: ubuntu-latest
3030
timeout-minutes: 10
3131
steps:
32-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
33-
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
32+
- uses: actions/checkout@v3
33+
- uses: actions/setup-python@v4
3434
with:
3535
python-version: "3.x"
3636
cache: pip

.github/workflows/new-bugs-announce-notifier.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515
steps:
16-
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
16+
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 14
1919
- run: npm install mailgun.js form-data
2020
- name: Send notification
21-
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
21+
uses: actions/github-script@v6
2222
env:
2323
MAILGUN_API_KEY: ${{ secrets.MAILGUN_PYTHON_ORG_MAILGUN_KEY }}
2424
with:

.github/workflows/project-updater.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- { project: 32, label: sprint }
2424

2525
steps:
26-
- uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c # v0.5.0
26+
- uses: actions/add-to-project@v0.1.0
2727
with:
2828
project-url: https://github.com/orgs/python/projects/${{ matrix.project }}
2929
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

.github/workflows/reusable-docs.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 60
1919
steps:
20-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
20+
- uses: actions/checkout@v3
2121
- name: Register Sphinx problem matcher
2222
run: echo "::add-matcher::.github/problem-matchers/sphinx.json"
2323
- name: 'Set up Python'
24-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
24+
uses: actions/setup-python@v4
2525
with:
2626
python-version: '3'
2727
cache: 'pip'
@@ -66,9 +66,9 @@ jobs:
6666
runs-on: ubuntu-latest
6767
timeout-minutes: 60
6868
steps:
69-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
69+
- uses: actions/checkout@v3
7070
- name: 'Set up Python'
71-
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
71+
uses: actions/setup-python@v4
7272
with:
7373
python-version: '3.11' # known to work with Sphinx 3.2
7474
cache: 'pip'
@@ -84,10 +84,10 @@ jobs:
8484
runs-on: ubuntu-latest
8585
timeout-minutes: 60
8686
steps:
87-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
87+
- uses: actions/checkout@v3
8888
- name: Register Sphinx problem matcher
8989
run: echo "::add-matcher::.github/problem-matchers/sphinx.json"
90-
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
90+
- uses: actions/cache@v3
9191
with:
9292
path: ~/.cache/pip
9393
key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: "Check PRs"
19-
uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
19+
uses: actions/stale@v8
2020
with:
2121
repo-token: ${{ secrets.GITHUB_TOKEN }}
2222
stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity.'

.github/workflows/verify-ensurepip-wheels.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
runs-on: ubuntu-latest
2626
timeout-minutes: 10
2727
steps:
28-
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
29-
- uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
28+
- uses: actions/checkout@v3
29+
- uses: actions/setup-python@v4
3030
with:
3131
python-version: '3'
3232
- name: Compare checksum of bundled wheels to the ones published on PyPI

0 commit comments

Comments
 (0)