Skip to content

Update .github/workflows/pip.yml to be concurrent #684

Update .github/workflows/pip.yml to be concurrent

Update .github/workflows/pip.yml to be concurrent #684

Workflow file for this run

name: Flake8
on:
workflow_dispatch:
schedule:
- cron: "0 1 * * *" # 3 AM CET
push:
pull_request:
jobs:
flake8:
uses: steinwurf/flake8-action/.github/workflows/action.yml@2.0.0
with:
excluded_errors: F632
# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109
concurrency:
concurrency:

Check failure on line 17 in .github/workflows/flake.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/flake.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
# Cancel previous in-progress when pushing: https://stackoverflow.com/a/72408109
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true