Skip to content

Commit

Permalink
Merge pull request karmada-io#5078 from Akash-Singh04/toplevelpermiss…
Browse files Browse the repository at this point in the history
…ionsforCI.yml

Define top level Permission for ci.yml workflow
  • Loading branch information
karmada-bot authored Aug 6, 2024
2 parents 19f3529 + 165ebdf commit b4b6d69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read # for actions/checkout to fetch code
jobs:
golangci:
name: lint
Expand Down

0 comments on commit b4b6d69

Please sign in to comment.