Skip to content

Commit c7c45e5

Browse files
committed
Added back RELEASE_TOKEN
1 parent 142d407 commit c7c45e5

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/_merge_into_release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Merge into release
22

3-
on: workflow_call
3+
on:
4+
workflow_call:
5+
secrets:
6+
RELEASE_TOKEN:
7+
required: true
48

59
jobs:
610
merge_into_release:
@@ -19,4 +23,4 @@ jobs:
1923
with:
2024
type: now
2125
target_branch: release
22-
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
github_token: ${{ secrets.RELEASE_TOKEN }}

.github/workflows/publish_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ jobs:
4949
# # repository-url: https://test.pypi.org/legacy/ # Uncomment this line to publish to testpypi
5050
merge_into_release:
5151
uses: ./.github/workflows/_merge_into_release.yml
52+
secrets:
53+
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}

0 commit comments

Comments
 (0)