Seeing lots of "invalid workflow file" errors all of a sudden … is something going on?

Hi, I’ve just started seeing a few “invalid workflow file” errors due to a concurrency group with an expression, even when I’ve not touched the workflow file in question for a while.

Is there an issue with GitHub at the moment, or has something here changed?

name: Disaster recovery test
on:
  schedule:
    - cron: "0 10 * * *"
  pull_request:
    paths:
      - ".github/workflows/disaster-recovery-test.yaml"

env:
  HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
  CYPRESS_MAILTRAP_API_TOKEN: ${{ secrets.MAILTRAP_API_TOKEN }}

concurrency:
  group: disaster-recovery-${{ github.ref }}
  cancel-in-progress: true

jobs:
  # …and so on

Hi,

This look similar to https://github.community/t/breaking-change-to-concurrency-group-syntax/

1 Like

You’re right—thanks!

1 Like