File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ jobs:
135135 - name : Get approval actor from audit log
136136 id : get-approver
137137 env :
138- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
138+ GH_TOKEN : ${{ secrets.READ_AUDIT_LOG }}
139139 OWNER : kosli-dev
140140 REPO : github-release-example
141141 WORKFLOW_RUN_ID : ${{ github.run_id }}
Original file line number Diff line number Diff line change 1+ secret-name: READ_AUDIT_LOG
2+ secret-expire: 2026-04-14
3+ secret-updated: 2025-04-14
4+ secret-updated-by: tore
5+ secret-type: gh-repo
6+ is-secret: true
7+ secret-usage: Used to read Organisation audit log
8+
9+ update-instructions:
10+ Go to the Developer's Github profile
11+ -> Settings
12+ -> Developer settings
13+ -> Personal access tokens
14+ -> New fine-grained personal access token
15+ -> Generate new token
16+ Token name: github-release-example-audit-log
17+ Resource owner: kosli-dev
18+ Expiration: one year
19+ Description: Read audit log
20+ Repository access: Only select repositories - kosli-dev/github-release-example
21+ Permissions:
22+ Organization permissions - Administration - Access: Read-only
23+
24+
25+ Go to https://github.com/kosli-dev/server/settings/secrets/actions
26+ under <Repository secrets>
You can’t perform that action at this time.
0 commit comments