We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47988a1 + 7785795 commit 7674345Copy full SHA for 7674345
2 files changed
.github/workflows/update-country-packages.yml
@@ -19,6 +19,13 @@ jobs:
19
fail-fast: false
20
21
steps:
22
+ - name: Generate GitHub App token
23
+ id: app-token
24
+ uses: actions/create-github-app-token@v1
25
+ with:
26
+ app-id: ${{ secrets.APP_ID }}
27
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
28
+
29
- name: Checkout code
30
uses: actions/checkout@v4
31
@@ -30,7 +37,7 @@ jobs:
37
38
- name: Check for update and open PR
32
39
env:
33
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
+ GH_TOKEN: ${{ steps.app-token.outputs.token }}
34
41
run: |
35
42
chmod +x .github/scripts/update-package.sh
36
43
.github/scripts/update-package.sh ${{ matrix.package }}
changelog.d/144.fixed.md
@@ -0,0 +1 @@
1
+Use GitHub App token in country package auto-updater so PRs trigger CI tests.
0 commit comments