Skip to content

Commit c545682

Browse files
Merge pull request #3 from chrisreddington/actions-updates
Update CI workflows with permissions and gh-extension-precompile version
2 parents 0e446ff + bc55a37 commit c545682

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Go Build
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
branches: [ main ]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: cli/gh-extension-precompile@v2
16+
- uses: cli/gh-extension-precompile@561b19deda1228a0edf856c3325df87416f8c9bd # v2.0.0
1717
with:
1818
generate_attestations: true
1919
go_version_file: go.mod

0 commit comments

Comments
 (0)