Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
yml 21 lines 480 Bytes
Raw
1 id: yaml-empty-run
2 language: Yaml
3 severity: error
4 message: Replace the empty CI run step with an executable check, or remove it.
5 files: ['.github/workflows/**', '.github/actions/**']
6 rule:
7 all:
8 - any:
9 - kind: block_mapping_pair
10 - kind: flow_pair
11 has:
12 field: key
13 regex: '^(run|"run"|''run'')$'
14 any:
15 - not:
16 has:
17 field: value
18 regex: '.'
19 - has:
20 field: value
21 regex: '^("\s*"|''\s*''|[|>][-+]?\s*)$'