Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up dependency scan job #147

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .github/workflows/dependency-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@ on: push
jobs:
analyze:
runs-on: ubuntu-latest
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
steps:
- uses: actions/checkout@v4
- run: curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash

# Just try to run fossa up to twice, for the case of temporary network or service issues.
- run: fossa analyze || fossa analyze
Comment on lines -11 to -12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guessing this hasn't been much of an issue to warrant keeping this? Seems pretty hacky anyways.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I don't think it ever actually was an issue, I think we did it "just in case"

env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

# Just try to run fossa up to twice, for the case of temporary network or service issues.
- run: fossa test || fossa test
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
- run: fossa analyze
- run: fossa test
Loading