Skip to content

Commit ad32991

Browse files
authored
Merge pull request #168 from microsoft/dilan/reduce-pr-check-perms
Reduce GitHub Workflow Perms
2 parents d5f75d4 + 6ccedeb commit ad32991

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/powershell-pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: github.repository == 'microsoft/codeql'
1414
permissions:
15-
contents: write
15+
contents: read
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v3

.github/workflows/sync-main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Sync Main
22
on:
33
schedule:
44
- cron: '55 * * * *'
5-
workflow_dispatch:
65
jobs:
76
sync-main:
87
name: Sync-main

0 commit comments

Comments
 (0)