Skip to content

Commit

Permalink
Merge pull request #88 from github/actions-permissions
Browse files Browse the repository at this point in the history
workflow: set restricted permissions
  • Loading branch information
bk2204 authored Oct 22, 2024
2 parents 48b0862 + f630528 commit a33b61c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: go test

permissions:
contents: read

on:
push:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: golangci-lint

permissions:
contents: read

on:
push:

Expand Down

0 comments on commit a33b61c

Please sign in to comment.