mirror of
https://github.com/imjasonh/snoop
synced 2026-07-20 04:48:18 +00:00
permissions, update head ref
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
8488ee7e0b
commit
7335da0df4
1 changed files with 7 additions and 0 deletions
7
.github/workflows/codegen.yaml
vendored
7
.github/workflows/codegen.yaml
vendored
|
|
@ -4,12 +4,19 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.head_ref }}
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
- run: |
|
- run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue