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

Expand variables in rules:changes #1295

Merged
merged 3 commits into from
Jul 22, 2024
Merged

Conversation

PigeonF
Copy link
Collaborator

@PigeonF PigeonF commented Jul 14, 2024

This enables common parallel:matrix configurations like

matrix:
  image: alpine
  parallel:
    matrix:
      - SUBDIR:
          - foo
          - bar
  rules:
    - changes:
        paths:
          - "${SUBDIR}/**/*"
  script:
    - echo "Job is running"

src/job.ts Outdated Show resolved Hide resolved
src/job.ts Outdated Show resolved Hide resolved
src/job.ts Show resolved Hide resolved
@PigeonF PigeonF force-pushed the expand-variables-in-rules-changes branch from 6bc2941 to a9687b6 Compare July 16, 2024 12:02
src/job.ts Outdated Show resolved Hide resolved
src/job.ts Outdated Show resolved Hide resolved
src/job.ts Outdated Show resolved Hide resolved
@PigeonF PigeonF force-pushed the expand-variables-in-rules-changes branch from 8c5c90e to b9ddfd7 Compare July 17, 2024 10:23
Copy link

@firecow firecow merged commit 2169c1d into master Jul 22, 2024
10 checks passed
@firecow firecow deleted the expand-variables-in-rules-changes branch July 22, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants