Skip to content

Commit 6e46b42

Browse files
jiaren-wugithub-advanced-security[bot]CopilotCopilot
authored
Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#4274)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: jiaren-wu <190862939+jiaren-wu@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 71ebdd9 commit 6e46b42

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/arc-update-runners-scheduled.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# This workflows polls releases from actions/runner and in case of a new one it
22
# updates files containing runner version and opens a pull request.
33
name: Runner Updates Check (Scheduled Job)
4+
permissions:
5+
pull-requests: write
6+
contents: write
47

58
on:
69
schedule:

.github/workflows/global-run-first-interaction.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: First Interaction
22

3+
permissions:
4+
contents: read
5+
issues: write
6+
pull-requests: write
7+
38
on:
49
issues:
510
types: [opened]

0 commit comments

Comments
 (0)