mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-23 01:51:33 -05:00
Add permission control for workflow
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
0e0cfa9f52
commit
9f56c5b0e2
8
.github/workflows/shellcheck.yml
vendored
8
.github/workflows/shellcheck.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user