chore: Cherry-picked changes from upstream - #50
reviewdog [reviewdog on ubuntu-26.04-arm] report
reported by reviewdog 🐶
Findings (5)
examples/broken-workflow.yml|5 col 5| unexpected key "branch" for "push" section. expected one of "branches", "branches-ignore", "paths", "paths-ignore", "tags", "tags-ignore", "types", "workflows" [syntax-check]
examples/broken-workflow.yml|7 col 11| character '' is invalid for branch and tag names. only special characters [, ?, +, *, , ! can be escaped with . see man git-check-ref-format for more details. note that regular expression is unavailable. note: filter pattern syntax is explained at https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
examples/broken-workflow.yml|12 col 28| label "linux-latest" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
examples/broken-workflow.yml|19 col 20| property "platform" is not defined in object type {os: string} [expression]
examples/broken-workflow.yml|20 col 17| receiver of object dereference "permissions" must be type of object but got "string" [expression]
Filtered Findings (0)
Annotations
Check failure on line 5 in examples/broken-workflow.yml
github-actions / reviewdog on ubuntu-26.04-arm
[reviewdog on ubuntu-26.04-arm] examples/broken-workflow.yml#L5
unexpected key "branch" for "push" section. expected one of "branches", "branches-ignore", "paths", "paths-ignore", "tags", "tags-ignore", "types", "workflows" [syntax-check]
Raw output
e:examples/broken-workflow.yml:5:5: unexpected key "branch" for "push" section. expected one of "branches", "branches-ignore", "paths", "paths-ignore", "tags", "tags-ignore", "types", "workflows" [syntax-check]
Check failure on line 7 in examples/broken-workflow.yml
github-actions / reviewdog on ubuntu-26.04-arm
[reviewdog on ubuntu-26.04-arm] examples/broken-workflow.yml#L7
character '\' is invalid for branch and tag names. only special characters [, ?, +, *, \, ! can be escaped with \. see `man git-check-ref-format` for more details. note that regular expression is unavailable. note: filter pattern syntax is explained at https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
Raw output
e:examples/broken-workflow.yml:7:11: character '\' is invalid for branch and tag names. only special characters [, ?, +, *, \, ! can be escaped with \. see `man git-check-ref-format` for more details. note that regular expression is unavailable. note: filter pattern syntax is explained at https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet [glob]
Check failure on line 12 in examples/broken-workflow.yml
github-actions / reviewdog on ubuntu-26.04-arm
[reviewdog on ubuntu-26.04-arm] examples/broken-workflow.yml#L12
label "linux-latest" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
Raw output
e:examples/broken-workflow.yml:12:28: label "linux-latest" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file [runner-label]
Check failure on line 19 in examples/broken-workflow.yml
github-actions / reviewdog on ubuntu-26.04-arm
[reviewdog on ubuntu-26.04-arm] examples/broken-workflow.yml#L19
property "platform" is not defined in object type {os: string} [expression]
Raw output
e:examples/broken-workflow.yml:19:20: property "platform" is not defined in object type {os: string} [expression]
Check failure on line 20 in examples/broken-workflow.yml
github-actions / reviewdog on ubuntu-26.04-arm
[reviewdog on ubuntu-26.04-arm] examples/broken-workflow.yml#L20
receiver of object dereference "permissions" must be type of object but got "string" [expression]
Raw output
e:examples/broken-workflow.yml:20:17: receiver of object dereference "permissions" must be type of object but got "string" [expression]