Skip to content

Commit 79854c3

Browse files
authored
ITT-438: Auto release as AdyenAutomationBot (#1136)
* ITT-438: Create Github Release as Adyen bot * ITT-438: Checkout as Adyen bot
1 parent c5aaa37 commit 79854c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gh-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
18+
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
1819
- name: Grab version
1920
uses: actions/github-script@v6
2021
id: release
@@ -24,7 +25,7 @@ jobs:
2425
core.setOutput('version', release.packageVersion())
2526
- name: Create new release
2627
env:
27-
GH_TOKEN: ${{ github.token }}
28+
GH_TOKEN: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
2829
run: |
2930
gh release create v${{steps.release.outputs.version}} \
3031
--title 'Adyen Node API Library v${{steps.release.outputs.version}}' \

0 commit comments

Comments
 (0)