1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-21 22:31:59 -05:00

Add permission control for workflow

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-09-10 16:16:45 -07:00 committed by GitHub
parent 9f73b31a56
commit 206afd0ac1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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