Skip to content

Commit

Permalink
Add permission control for workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Tommy <[email protected]>
  • Loading branch information
TommyTran732 authored Sep 10, 2024
1 parent b9cfebf commit 92c2996
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ on:

jobs:
shellcheck:
name: Bash syntax checker
runs-on: ubuntu-latest
name: Shell syntax checker
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
uses: ludeeus/action-shellcheck@master

0 comments on commit 92c2996

Please sign in to comment.