Skip to content

Commit

Permalink
checks
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinDFuller committed Dec 21, 2023
1 parent 174b70f commit d1cabfd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
environment: production

permissions:
contents: "read"
id-token: "write"
contents: read
id-token: write
checks: write

steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
contents: write
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: write
checks: write

jobs:
golangci:
Expand All @@ -21,6 +22,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version-file: "./go.mod"
cache: false

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/markdown-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
checks: write

jobs:
markdown:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_reqest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
permissions:
contents: write
pull-requests: write
checks: write

jobs:
Golang:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_request_description.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
permissions:
contents: read
pull-requests: read
checks: write

jobs:
description:
Expand Down

0 comments on commit d1cabfd

Please sign in to comment.