File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed
Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change 1515 - name : Checkout Repository
1616 uses : actions/checkout@v4
1717 with :
18- ref : " master"
19-
20- - name : Install get-access-token dependencies
21- run : npm ci
22- working-directory : ${{ github.workspace }}/.github/get-access-token
23-
24- - name : Get github app access token
25- id : get_access_token
26- uses : actions/create-github-app-token@v2
27- with :
28- app-id : ${{ secrets.XERO_PUBLIC_BOT_APP_ID}}
29- private-key : ${{ secrets.XERO_PUBLIC_BOT_KEY }}
30- owner : xero-internal
31- repositories : xeroapi-sdk-codegen
18+ fetch-depth : 0
3219
3320 - name : Fetch Latest release number
3421 id : get_latest_release_number
3724 echo "Latest release version is - $latest_version"
3825 echo "releaseVersion=$latest_version" >> $GITHUB_OUTPUT
3926 env :
40- GH_TOKEN : ${{steps.get_access_token.outputs. token}}
27+ GH_TOKEN : ${{ github. token }}
4128
4229 - name : Set up branch name
4330 id : identify_branch_name
@@ -117,4 +104,4 @@ jobs:
117104 echo "PR is already up to date"
118105 fi
119106 env :
120- GH_TOKEN : ${{steps.get_access_token.outputs. token}}
107+ GH_TOKEN : ${{ github. token }}
Original file line number Diff line number Diff line change 2929 - name : Perform release
3030 run : npx semantic-release --dry-run
3131 working-directory : ${{ github.workspace }}/.github/semantic-release
32+ env :
33+ GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments