Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci/permissions: Restrict permissions for remaining workflows #31603

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
name: CodeQL/daily

permissions:
contents: read

on:
schedule:
- cron: '0 12 * * 4'
Expand All @@ -6,11 +11,13 @@ concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true


jobs:
CodeQL-Build:

permissions:
security-events: write # for github/codeql-action/analyze to upload SARIF results
pull-requests: read
strategy:
fail-fast: false

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CodeQL

permissions:
contents: read

on:
push:
paths:
Expand All @@ -12,11 +15,13 @@ concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true


jobs:
CodeQL-Build:

permissions:
security-events: write # for github/codeql-action/analyze to upload SARIF results
pull-requests: read
strategy:
fail-fast: false

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/envoy-sync.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: 'Sync downstream'

permissions:
contents: read
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is good - it uses appauth


on:
push:
branches:
Expand Down
Loading