Skip to content

OpenSSF Scorecard: fine grained workflow permissions #844

OpenSSF Scorecard: fine grained workflow permissions

OpenSSF Scorecard: fine grained workflow permissions #844

Workflow file for this run

name: Solidity Tests

Check failure on line 1 in .github/workflows/solidity.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/solidity.yml

Invalid workflow file

`permissions` is not a valid event name
on:
pull_request:
branches: [main]
permissions:
contents: read
packages: read
jobs:
solidity-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "20.x"
- run: npm ci
working-directory: ./smart_contracts/ethereum/solidity_firefly
- run: npm run test
working-directory: ./smart_contracts/ethereum/solidity_firefly