Solution: GitHub Actions Failing with Unexpected value 'branches'
Starting seeing this today:

The workflow is not valid. .github/workflows/azure-dev.yml (Line: 3, Col: 5): Unexpected value 'branches'
Apparently workflow_dispatch never supported branches, but GH silently ignored it if you included it.
Starting today, they validate it, so your actions will fail.
Iām sure this broke a ton of actions, hopefully they fix it soon.
In the mean-time, remove branches from workflow_dispatch
Before:
on: workflow_dispatch: branches:
- main - master
push: branches:
- main - master
pull_request: branches:
- main - master
```text
After:
```yaml
on: workflow_dispatch: push: branches:
- main - master
pull_request: branches:
- main - masterDiscussion happening here: https://github.community/t/worflow-with-dispatch-and-branches-setting-suddenly-not-supported-anymore/247732/30
Share on LinkedIn
Quick Share: Your custom post text has been copied to your clipboard! Click the button below to open LinkedIn's share dialog, then paste it.
š” Tip: LinkedIn will open in a new tab. Use Ctrl+V (or Cmd+V on Mac) to paste your text.
Note: LinkedIn will show the article preview. You can add your custom text above it.