File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,19 @@ jobs:
4747 runs-on : ubuntu-latest
4848 concurrency : release
4949 steps :
50- - uses : actions/checkout@v3
50+ - uses : actions/create-github-app-token@v1
51+ id : app-token
52+ with :
53+ app-id : ${{ vars.CI_APP_ID }}
54+ private-key : ${{ secrets.CI_PRIVATE_KEY }}
55+ - uses : actions/checkout@v4
5156 with :
52- token : ${{ secrets.GH_PAT }}
57+ token : ${{ steps.app-token.outputs.token }}
5358 fetch-depth : 0 # for fetching tags, required for semantic-release
5459 - uses : ./.github/actions/setup-poetry
5560 - name : Run release script
5661 env :
57- GH_TOKEN : ${{ secrets.GH_PAT }}
62+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
5863 TARGET_VERSION : ${{ needs.pre-release-check.outputs.TARGET_TAG_V }}
5964 CHGLOG_FILE : CHANGELOG.md
6065 run : ./.github/scripts/release.sh
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: "Run CI"
22
33on :
44 pull_request :
5- types : [opened, reopened, synchronize, ready_for_review ]
5+ types : [opened, reopened]
66 push :
77 branches :
88 - " **"
You can’t perform that action at this time.
0 commit comments