Skip to content

Commit

Permalink
chore(security): Pin workflow actions to commit SHAs (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims authored and ewanharris committed Aug 15, 2023
1 parent b13975b commit 300ae89
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}

- name: Update codecov report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # [email protected]
with:
files: ./coverage.out
fail_ci_if_error: false
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
push:
branches: [main]
schedule:
- cron: '30 0 1,15 * *'
- cron: "30 0 1,15 * *"

jobs:
scan:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@main
- uses: actions/checkout@v3
- name: Scan for Vulnerabilities in Code
uses: Templum/govulncheck-action@main
uses: Templum/govulncheck-action@435a35e28c7e56076f6daf838b81c1aa76ee0c95 # [email protected]
with:
go-version: 1.19
package: ./...
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: go build ./...

- name: Check for linting errors
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # [email protected]
with:
version: latest
args: -v -c .golangci.yml
Expand All @@ -49,7 +49,7 @@ jobs:
run: make test

- name: Update codecov report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # [email protected]
with:
files: ./coverage.out
fail_ci_if_error: false
Expand Down

0 comments on commit 300ae89

Please sign in to comment.