File tree Expand file tree Collapse file tree 4 files changed +41
-22
lines changed Expand file tree Collapse file tree 4 files changed +41
-22
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ version : 2
3+ updates :
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ schedule :
7+ interval : " weekly"
8+ groups :
9+ actions :
10+ patterns :
11+ - " *"
Original file line number Diff line number Diff line change 1010 name : Run CircleCI artifacts redirector
1111 steps :
1212 - name : GitHub Action step
13- uses : larsoner/circleci-artifacts-redirector-action@master
13+ uses :
14+ scientific-python/circleci-artifacts-redirector-action@4e13a10d89177f4bfc8007a7064bdbeda848d8d1 # v1.0.0
1415 with :
1516 repo-token : ${{ secrets.GITHUB_TOKEN }}
1617 api-token : ${{ secrets.CIRCLECI_TOKEN }}
Original file line number Diff line number Diff line change 33name : Linting
44on : [pull_request]
55
6+ permissions :
7+ contents : read
8+
69jobs :
710 flake8 :
811 name : flake8
912 runs-on : ubuntu-latest
13+ permissions :
14+ checks : write
1015 steps :
11- - uses : actions/checkout@v2
16+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+ with :
18+ persist-credentials : false
1219
1320 - name : Set up Python 3
14- uses : actions/setup-python@v1
21+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
1522 with :
16- python-version : 3.8
23+ python-version : ' 3.x '
1724
1825 - name : Install flake8
1926 run : pip3 install 'flake8>=3.8'
2027
2128 - name : Set up reviewdog
22- run : |
23- mkdir -p "$HOME/bin"
24- curl -sfL \
25- https://github.com/reviewdog/reviewdog/raw/master/install.sh | \
26- sh -s -- -b "$HOME/bin"
27- echo "$HOME/bin" >> $GITHUB_PATH
29+ uses : reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.9
2830
2931 - name : Run flake8
3032 env :
Original file line number Diff line number Diff line change 66 types :
77 - published
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 build :
1114 name : Build Release Packages
1215 runs-on : ubuntu-latest
1316 steps :
14- - uses : actions/checkout@v4
17+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1518 with :
16- fetch-depth : 10
19+ fetch-depth : 0
20+ persist-credentials : false
1721
1822 - name : Set up Python
1923 id : setup
20- uses : actions/setup-python@v4
24+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2125 with :
22- python-version : 3.x
26+ python-version : ' 3.x'
2327
2428 - name : Install build tools
2529 run : |
3034 run : python -m build
3135
3236 - name : Save built packages as artifact
33- uses : actions/upload-artifact@v3
37+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
3438 with :
3539 name : packages-${{ runner.os }}-${{ steps.setup.outputs.python-version }}
3640 path : dist/
@@ -43,15 +47,16 @@ jobs:
4347 runs-on : ubuntu-latest
4448 environment : release
4549 permissions :
50+ attestations : write
51+ contents : read
4652 id-token : write
4753 steps :
4854 - name : Download packages
49- uses : actions/download-artifact@v3
50-
51- - name : Consolidate packages for upload
52- run : |
53- mkdir dist
54- cp packages-*/* dist/
55+ uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
56+ with :
57+ pattern : packages-*
58+ path : dist
59+ merge-multiple : true
5560
5661 - name : Publish package distributions to PyPI
57- uses : pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e # v1.8.10
62+ uses : pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
You can’t perform that action at this time.
0 commit comments