Skip to content

Commit 75705eb

Browse files
committed
ci: fix release.yml
1 parent ea12ed8 commit 75705eb

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212
concurrency: release
1313

14-
permissions:
15-
checks: read
16-
contents: write
17-
deployments: write
14+
permissions: write-all
1815

1916
steps:
20-
- name: ⏰ Wait for build to succeed
17+
- name: ⏰ Wait for builds to succeed
2118
uses: lewagon/[email protected]
2219
with:
2320
ref: ${{ github.ref }}
2421
repo-token: ${{ secrets.GITHUB_TOKEN }}
2522
wait-interval: 10
2623
running-workflow-name: wait-for-check-regexp
27-
check-regexp: build-\(.*\)
24+
check-regexp: build-.*
2825

2926
- name: 🛒 Checkout repository
3027
uses: actions/checkout@v4
@@ -34,7 +31,7 @@ jobs:
3431
- name: 🐍 Set up Python
3532
uses: actions/setup-python@v4
3633
with:
37-
python-version: '3.11'
34+
python-version: '3.9'
3835
architecture: 'x64'
3936

4037
- name: 👷🏻 Install dependencies
@@ -100,6 +97,6 @@ jobs:
10097
- name: 🔖 Publish Release
10198
if: ${{ env.release-needed == 'true' }}
10299
env:
103-
GITHUB_TOKEN: ${{ secrets.SEMANTIC_PAT_TOKEN }}
100+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104101
run: python -m semantic_release publish
105-
102+

0 commit comments

Comments
 (0)