Skip to content

ci: Implement more GitHub actions #19

ci: Implement more GitHub actions

ci: Implement more GitHub actions #19

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches: [ main ]
push:
branches: [ main ]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
uses: ./.github/workflows/step_pre-commit.yaml
tests:

Check failure on line 21 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 21, Col: 3): Error calling workflow 'LecrisUT/CMakeExtraUtils/.github/workflows/step_test.yaml@4785a99c072ca51d92d1ecde46d5227cb55cfb0f'. The nested job 'report' is requesting 'pull-requests: write', but is only allowed 'pull-requests: none'.
needs: [ pre-commit ]
uses: ./.github/workflows/step_test.yaml
permissions:
contents: read
checks: write
docs:
needs: [ pre-commit ]
uses: ./.github/workflows/step_docs.yaml
pass:
needs: [ pre-commit, tests, docs ]
runs-on: ubuntu-latest
steps:
- name: Check all CI jobs
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
if: always()