We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b64644e + 666dea4 commit a4dc2aeCopy full SHA for a4dc2ae
.github/workflows/update-ic-commit.yml
@@ -11,6 +11,13 @@ jobs:
11
ic-update:
12
runs-on: ubuntu-latest
13
steps:
14
+ - name: Create GitHub App Token
15
+ uses: actions/create-github-app-token@v1
16
+ id: app-token
17
+ with:
18
+ app-id: ${{ vars.PR_AUTOMATION_BOT_PUBLIC_APP_ID }}
19
+ private-key: ${{ secrets.PR_AUTOMATION_BOT_PUBLIC_PRIVATE_KEY }}
20
+
21
- uses: actions/checkout@v4
22
23
# First, check if there is a newer version and update the file referencing the version
@@ -68,7 +75,7 @@ jobs:
68
75
if: ${{ steps.update.outputs.updated == '1' }}
69
76
uses: peter-evans/create-pull-request@v6
70
77
with:
71
- token: ${{ secrets.GIX_CREATE_PR_PAT }}
78
+ token: ${{ steps.app-token.outputs.token }}
72
79
base: master
73
80
add-paths: ./.ic-commit
74
81
commit-message: Update commit of IC artifacts
0 commit comments