Skip to content

Commit

Permalink
Only run both on merges to main
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
  • Loading branch information
mattlord committed Oct 22, 2023
1 parent c661af5 commit ca8d73a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/static_checks_etc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v3

- name: Run FOSSA scan and upload build data
if: steps.skip-workflow.outputs.skip-workflow == 'false'
if: github.ref == 'refs/heads/main'
uses: fossa-contrib/fossa-action@v2
with:
fossa-api-key: ${{secrets.fossaApiKey}}
Expand Down Expand Up @@ -222,6 +222,7 @@ jobs:
exit 1
- name: Upload coverage reports to Codecov
if: github.ref == 'refs/heads/main'
timeout-minutes: 30
uses: codecov/codecov-action@v3
env:
Expand Down

0 comments on commit ca8d73a

Please sign in to comment.