Skip to content

Commit 3977230

Browse files
authored
use bot for commit changes
1 parent f351b87 commit 3977230

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@ jobs:
1717
publish:
1818
runs-on: ubuntu-latest
1919
env:
20-
GH_TOKEN: ${{ github.token }}
20+
GITHUB_TOKEN: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
2121
VERSION_CHANGE: ${{ github.event.inputs.version-change }}
2222
RELEASE_CANDIDATE: ${{ github.event.inputs.release-candidate }}
2323
VERSION_FILE: src/Version.php
2424
CHANGELOG_FILE: CHANGELOG.md
2525
steps:
2626
- uses: actions/checkout@v3
27+
with:
28+
token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
2729
- run: |
2830
CHANGELOG=$(cat $CHANGELOG_FILE | sed -e '/^## */,$d');
2931
MAJOR=$(cat $VERSION_FILE | grep "const MAJOR" | sed -e 's/^.*\ \(=\ \)*\(\"\)*\([0-9]*\)\(\"\)*.*/\3/g');

0 commit comments

Comments
 (0)