mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-07 16:33:40 +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:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 0'
|
- cron: '0 0 * * 0'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Running test
|
name: Running test
|
||||||
|
3
.github/workflows/site-deploy.yaml
vendored
3
.github/workflows/site-deploy.yaml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Make and Deploy site
|
name: Make and Deploy site
|
||||||
|
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
@ -6,6 +6,9 @@ on:
|
|||||||
- 'main'
|
- 'main'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Running test
|
name: Running test
|
||||||
|
Loading…
Reference in New Issue
Block a user