Skip to content

Commit ad89adc

Browse files
committed
Add contents: read to base-OS and ubuntu-sync workflows
Both workflows fire on pull_request, check out the repo, and run shell/python diff scripts to validate that legacy and versioned base-OS files stay in sync. Neither pushes or comments back to the PR - contents: read is the right scope. Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
1 parent ac3b0ba commit ad89adc

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check_base_os.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
paths:
2222
- 'projects/**'
2323

24+
permissions:
25+
contents: read
26+
2427
jobs:
2528
check-consistency:
2629
runs-on: ubuntu-latest

.github/workflows/ubuntu_version_sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
pull_request:
2121
types: [opened, synchronize, reopened]
2222

23+
permissions:
24+
contents: read
25+
2326
jobs:
2427
check-sync:
2528
name: Ubuntu File Synchronization Check

0 commit comments

Comments
 (0)