-
Notifications
You must be signed in to change notification settings - Fork 436
Ci triggers matrix #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
b41c094
1679793
00b966c
1a93bd0
b98369c
adf3496
dce5315
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| name: PR Check | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [master] | ||
|
|
||
| jobs: | ||
| check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Print PR branch | ||
| run: echo "PR check running for branch: ${{ github.head_ref }}" | ||
|
|
||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win
YAML syntax error breaks the workflow.
The unquoted
runvalue containsbranch:(colon+space), which YAML parses as a nested mapping key rather than plain text. This is confirmed by both yamllint and actionlint reporting a parse failure at line 13 — the workflow will fail to load and the job will never execute.🐛 Proposed fix: quote the run string
Actually wrap the whole value in single quotes so the embedded colon is safe:
📝 Committable suggestion
🧰 Tools
🪛 actionlint (1.7.12)
[error] 13-13: could not parse as YAML: mapping values are not allowed in this context
(syntax-check)
🪛 YAMLlint (1.37.1)
[error] 13-13: syntax error: mapping values are not allowed here
(syntax)
🤖 Prompt for AI Agents
Source: Linters/SAST tools