Skip to content

Commit

Permalink
chore: fixed Token-Permissions for Actions (#3517)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 18, 2024
1 parent 79bd59a commit ae9f8df
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [main, release-*]

permissions:
contents: read

env:
GO_VERSION: '1.21'

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ on:
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
security-events: write

strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/compatibility-e2e-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

env:
KIND_VERSION: v0.12.0
CONTAINERD_VERSION: v1.5.2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/compatibility-e2e-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

env:
KIND_VERSION: v0.12.0
CONTAINERD_VERSION: v1.5.2
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/cr.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/e2e-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

env:
KIND_VERSION: v0.12.0
CONTAINERD_VERSION: v1.5.2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-v2-nydus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

env:
GO_VERSION: '1.21'
KIND_VERSION: v0.12.0
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: '0 4 * * *'

permissions:
contents: read

env:
KIND_VERSION: v0.12.0
CONTAINERD_VERSION: v1.5.2
Expand Down

0 comments on commit ae9f8df

Please sign in to comment.