mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2025-06-08 14:42:57 -04:00
Add permission control for workflow
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
b9cfebf5be
commit
92c299654a
1 changed files with 5 additions and 3 deletions
8
.github/workflows/shellcheck.yml
vendored
8
.github/workflows/shellcheck.yml
vendored
|
@ -28,10 +28,12 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
name: Bash syntax checker
|
name: Shell syntax checker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
uses: ludeeus/action-shellcheck@master
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue