Skip to content
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

Support YAML anchors and aliases #405

Open
harrydowning opened this issue Oct 12, 2024 · 0 comments
Open

Support YAML anchors and aliases #405

harrydowning opened this issue Oct 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@harrydowning
Copy link

Is your feature request related to a problem? Please describe.
Once github actions supports anchors and aliases (see actions/runner#1182) this extension will need to be updated accordingly. Currently, using anchors and aliases results in errors:

image

Describe the solution you'd like
Using anchors and aliases should not result in these linting errors.

Additional context

name: pipeline

on: push

jobs:
  job1:
    runs-on: ubuntu-latest
    env: &env
      ENV1: env1
      ENV2: env2
    steps:
      - run: exit 0
  job2:
    runs-on: ubuntu-latest
    env: *env
    steps:
      - run: exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog 🗒
Development

No branches or pull requests

1 participant