GA-S003: Type mismatch
Error Schema
Why This Matters
A value in the workflow file has the wrong type. For example, `runs-on` expects a string or array but received a number, or `timeout-minutes` expects a number but received a string. Type mismatches cause GitHub Actions to reject the workflow at parse time.
How to Fix
Change the value to the correct type expected by the schema.
Before (incorrect)
jobs:
build:
runs-on: 42
steps:
- run: echo hello After (correct)
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo hello Rule Details
- Rule Code
- GA-S003
- Severity
- Error
- Category
- Schema