Skip to content

github-action/no-external-job

Disallow using external job.

📖 Rule Details

This rule reports when job uses a external job.

yaml
name: Release

jobs:
  test:
    name: Test
correct
yaml
name: Release

jobs:
  test:
    uses: ./.github/workflows/ci.yml
incorrect

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-github-action v0.0.7

🔍 Implementation