-
-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Pre-submission checks
- I am not filing a feature request. These should be filed via the feature request form instead.
- I have looked through the open issues for a duplicate report.
Expected behavior
I expected zizmor .github/workflows/pull_requests.yaml to provide me some useful feedback on the action.
Actual behavior
It fails with:
failed to register input: .github/workflows/pull_requests.yaml
Caused by:
0: invalid GitHub Actions workflow: file://.github/workflows/pull_requests.yaml
Caused by:
data did not match any variant of untagged enum Trigger at line 7 column 1
1: invalid GitHub Actions definition: file://.github/workflows/pull_requests.yaml
Caused by:
missing field `runs` at line 7 column 1
2: failed to register input as workflow or action
Reproduction steps
- Download https://github.com/WeblateOrg/weblate/blob/a40600256800d32b7c0da693ea4ddc4d3d36ebaa/.github/workflows/pull_requests.yaml
- Run
zizmor .github/workflows/pull_requests.yaml
Logs
Additional context
It might be related to #646 (shows the same error, but on invalid workflow).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working