Skip to content

Commit

Permalink
docs: fix branch names in sarif github action (#1701)
Browse files Browse the repository at this point in the history
Branch names were backwards: `uses: actions/checkout@main` should be `@master`, whereas `uses: tfsec/tfsec-sarif-action@master` should be `@main`.

Note that the former, `actions/checkout@main` _does_ exist, it's just no longer the active branch.

Co-authored-by: Owen Rumney <owen.rumney@aquasec.com>
  • Loading branch information
gmarmstrong and Owen Rumney committed May 6, 2022
1 parent 7e27632 commit 76ef458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/github-actions/github-action.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:

steps:
- name: Clone repo
uses: actions/checkout@master
uses: actions/checkout@main

- name: tfsec
uses: tfsec/tfsec-sarif-action@main
uses: tfsec/tfsec-sarif-action@master
with:
sarif_file: tfsec.sarif

Expand Down

0 comments on commit 76ef458

Please sign in to comment.