Skip to content

Commit c359bb5

Browse files
authored
fix: authorize github action user to write content
1 parent 0aa2ec6 commit c359bb5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.lib.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,22 @@ name: CI
33
on:
44
workflow_call:
55

6+
permissions:
7+
contents: write # we need this to be able to push to the pull request
8+
69
jobs:
710
build:
811
runs-on: ubuntu-24.04
912

1013
steps:
14+
- name: Create GitHub App token
15+
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2
16+
id: app-token
17+
with:
18+
# required
19+
app-id: 1312871
20+
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
21+
1122
- name: Checkout code
1223
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1324
with:

0 commit comments

Comments
 (0)