mirror of
https://github.com/avelino/awesome-go.git
synced 2024-12-12 17:13:58 +00:00
GitHub Workflows security hardening (#4586)
This commit is contained in:
parent
85403a185e
commit
6c1da6d88e
4
.github/workflows/run-check.yaml
vendored
4
.github/workflows/run-check.yaml
vendored
@ -3,6 +3,10 @@ on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Running test
|
||||
|
3
.github/workflows/site-deploy.yaml
vendored
3
.github/workflows/site-deploy.yaml
vendored
@ -5,6 +5,9 @@ on:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Make and Deploy site
|
||||
|
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
@ -6,6 +6,9 @@ on:
|
||||
- 'main'
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Running test
|
||||
|
Loading…
Reference in New Issue
Block a user