Skip to content

Commit 3b1ebac

Browse files
Token to bypass branch restrictions
1 parent ecf1ce8 commit 3b1ebac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/automated_release.create_release_branch.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
create-next-release-branch:
3434
needs: [calculate-next-version, get-master-sha]
3535
runs-on: ubuntu-latest
36+
environment: TestPypi # For the branch restrictions token
3637
permissions:
3738
contents: write
3839
outputs:
@@ -41,7 +42,7 @@ jobs:
4142
- name: Create branch ${{ needs.calculate-next-version.outputs.version }} from ${{ needs.get-master-sha.outputs.sha }}
4243
uses: peterjgrainger/[email protected]
4344
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
GITHUB_TOKEN: ${{ secrets.TAGGING_TOKEN }}
4546
with:
4647
branch: ${{ needs.calculate-next-version.outputs.version }}
4748
sha: ${{ needs.get-master-sha.outputs.sha }}

0 commit comments

Comments
 (0)