Legitify Analyze - eu-digital-identity-wallet GH Organization #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Legitify Analyze - eu-digital-identity-wallet GH Organization | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * 1' | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
legitify | |
key: ${{ runner.os }}-legitify-1.0.7 | |
- name: Legitify Scan - CLI | |
run: | | |
if [[ -f "legitify" ]]; then | |
./legitify analyze --token=${{ secrets.LEGITIFY_PAT }} --output-format sarif --output-file leg.sarif | |
else | |
wget https://legitify.legitsecurity.com/1.0.7/linux/amd64.tar.gz | |
tar -xzf amd64.tar.gz | |
./legitify -h | |
fi |