Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit fd00676

Browse files
authored
Merge pull request #509 from NickCao/analytics-fix
Fix permissions of pr analytics action
2 parents e78b897 + 178f5f8 commit fd00676

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pr_analytics.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ jobs:
1010
create-report:
1111
name: "Create report"
1212
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
pull-requests: read
16+
issues: write
1317
steps:
1418
- name: "Run script for analytics"
15-
uses: AlexSim93/pull-request-analytics-action@v4
19+
uses: AlexSim93/pull-request-analytics-action@cc57ceb92148c5d5879ca578a2b59f99c3cbe231 # v4.6.1
1620
with:
1721
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # In the case of a personal access token, it needs to be added to the repository's secrets and used in this field.
1822
GITHUB_REPO_FOR_ISSUE: jumpstarter
@@ -22,4 +26,3 @@ jobs:
2226
TIMEZONE: "Etc/UTC"
2327
REPORT_DATE_START: ${{ inputs.report_date_start }}
2428
REPORT_DATE_END: ${{ inputs.report_date_end }}
25-

0 commit comments

Comments
 (0)