We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 577bf65 + 3fa9631 commit b15ea91Copy full SHA for b15ea91
2 files changed
.github/workflows/push.yml
@@ -54,10 +54,16 @@ jobs:
54
&& !(github.event.head_commit.message == 'Update PolicyEngine API')
55
runs-on: ubuntu-latest
56
steps:
57
+ - name: Generate GitHub App token
58
+ id: app-token
59
+ uses: actions/create-github-app-token@v1
60
+ with:
61
+ app-id: ${{ secrets.APP_ID }}
62
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
63
- name: Checkout repo
64
uses: actions/checkout@v4
65
with:
- token: ${{ secrets.POLICYENGINE_GITHUB }}
66
+ token: ${{ steps.app-token.outputs.token }}
67
- name: Setup Python
68
uses: actions/setup-python@v5
69
changelog.d/fix-versioning-auth.fixed.md
@@ -0,0 +1 @@
1
+Fix versioning job authentication by replacing expired PAT with GitHub App token.
0 commit comments