1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-09-19 15:14:43 -04:00

Add permission control for workflow

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

View File

@ -28,8 +28,10 @@ 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