Skip to content

Commit cbb74a3

Browse files
authored
Merge pull request #34 from newrelic/fix/add-workflow-permissions
Add explicit permissions to GitHub Actions workflows
2 parents 04eea5c + 4fe0ec7 commit cbb74a3

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
name: Build and Release (Manual Run JDK 21) v1.4
22

3-
on:
3+
on:
44
workflow_dispatch: # This event allows manual triggering
55

6+
permissions:
7+
contents: write
8+
69
env:
710
THIRD_PARTY_GIT_AUTHOR_EMAIL: opensource+bot@newrelic.com
811
THIRD_PARTY_GIT_AUTHOR_NAME: nr-opensource-bot

.github/workflows/repolinter.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ name: Repolinter Action
88
# filtered in the "Test Default Branch" step.
99
on: [push, workflow_dispatch]
1010

11+
permissions:
12+
contents: read
13+
issues: write
14+
1115
jobs:
1216
repolint:
1317
name: Run Repolinter

0 commit comments

Comments
 (0)