Starting hardware description section #2037
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: ci | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
concurrency: | |
group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}} | |
cancel-in-progress: true | |
jobs: | |
changes: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: read | |
outputs: | |
docs: ${{ steps.filter.outputs.docs }} | |
style: ${{ steps.filter.outputs.style }} | |
run: ${{ steps.filter.outputs.run }} | |
license: ${{ steps.filter.outputs.license }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # @v2 | |
if: ${{ github.event_name == 'push' }} | |
with: | |
fetch-depth: 0 | |
# For pull requests it's not necessary to checkout the code | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 | |
id: filter | |
with: | |
filters: | | |
docs: | |
- '.github/**' | |
- 'bin/**' | |
- 'configs/**' | |
- 'docs/**' | |
- 'experiments/**' | |
- 'lib/**' | |
- 'repo/**' | |
- 'systems/**' | |
- 'var/**' | |
- 'README.rst' | |
- 'tags.yaml' | |
style: | |
- '.github/**' | |
- 'bin/**' | |
- 'configs/**' | |
- 'docs/conf.py' | |
- 'experiments/**' | |
- 'lib/**' | |
- 'repo/**' | |
- 'systems/**' | |
- 'var/**' | |
run: | |
- '.github/**' | |
- 'bin/**' | |
- 'configs/**' | |
- 'checkout-versions.yaml' | |
- 'experiments/**' | |
- 'lib/**' | |
- 'repo/**' | |
- 'systems/**' | |
- 'var/**' | |
license: | |
- '.github/**' | |
- 'bin/**' | |
- 'configs/**' | |
- 'docs/**' | |
- 'experiments/**' | |
- 'lib/**' | |
- 'repo/**' | |
- 'systems/**' | |
- 'var/**' | |
docs: | |
if: ${{ needs.changes.outputs.docs == 'true' }} | |
needs: changes | |
uses: ./.github/workflows/docs.yml | |
style: | |
if: ${{ needs.changes.outputs.style == 'true' }} | |
needs: changes | |
uses: ./.github/workflows/style.yml | |
run: | |
if: ${{ needs.changes.outputs.run == 'true' }} | |
needs: changes | |
uses: ./.github/workflows/run.yml | |
license: | |
if: ${{ needs.changes.outputs.license == 'true' }} | |
needs: changes | |
uses: ./.github/workflows/license.yml |