We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f351b87 commit 3977230Copy full SHA for 3977230
.github/workflows/publish.yml
@@ -17,13 +17,15 @@ jobs:
17
publish:
18
runs-on: ubuntu-latest
19
env:
20
- GH_TOKEN: ${{ github.token }}
+ GITHUB_TOKEN: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
21
VERSION_CHANGE: ${{ github.event.inputs.version-change }}
22
RELEASE_CANDIDATE: ${{ github.event.inputs.release-candidate }}
23
VERSION_FILE: src/Version.php
24
CHANGELOG_FILE: CHANGELOG.md
25
steps:
26
- uses: actions/checkout@v3
27
+ with:
28
+ token: ${{ secrets.YDB_PLATFORM_BOT_TOKEN_REPO }}
29
- run: |
30
CHANGELOG=$(cat $CHANGELOG_FILE | sed -e '/^## */,$d');
31
MAJOR=$(cat $VERSION_FILE | grep "const MAJOR" | sed -e 's/^.*\ \(=\ \)*\(\"\)*\([0-9]*\)\(\"\)*.*/\3/g');
0 commit comments