ci: retrigger scorecard workflow #3
Workflow file for this run
This file contains hidden or 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: OpenSSF Scorecard | |
| on: | |
| push: | |
| branches: | |
| - add-scorecard-workflow | |
| permissions: read-all | |
| jobs: | |
| analysis: | |
| name: Scorecard analysis | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Run Scorecard | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| wget -qO- https://github.com/ossf/scorecard/releases/download/v5.1.1/scorecard_5.1.1_linux_amd64.tar.gz | tar xz | |
| ./scorecard --repo=github.com/ethereum-optimism/optimism --format=json | tee scorecard.json | |
| echo "---" | |
| ./scorecard --repo=github.com/ethereum-optimism/optimism | |
| - name: Upload results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: scorecard-results | |
| path: scorecard.json |