Skip to content

Update .github/workflows/black.yml to be concurrent #547

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

Update .github/workflows/black.yml to be concurrent #547

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/[email protected]
# 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