ci(workflow): set contents permission and concurrency

Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
This commit is contained in:
Rodney Osodo
2026-04-27 22:21:26 +03:00
parent b38d43bd55
commit c774ff444c
+7
View File
@@ -11,6 +11,13 @@ on:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
pre-commit:
runs-on: ubuntu-latest