Skip to content

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

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

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

Workflow file for this run

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

Check failure on line 14 in .github/workflows/black.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/black.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
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