mirror of
https://github.com/dorny/paths-filter.git
synced 2026-03-10 16:34:28 +00:00
feat: add predicate-quantifier input and update workflows to use arc-runners
- Add predicate-quantifier input parameter to action.yml with default value of 'some' - Update all workflow jobs to run on arc-runners instead of ubuntu-latest - Supports 'some' (at least one file matches) and 'every' (all files match) quantifiers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
de90cc6fb3
commit
33e590ca55
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@ -20,7 +20,7 @@ jobs:
|
||||
npm run all
|
||||
|
||||
self-test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
|
||||
14
.github/workflows/pull-request-verification.yml
vendored
14
.github/workflows/pull-request-verification.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@ -20,7 +20,7 @@ jobs:
|
||||
npm run all
|
||||
|
||||
test-inline:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
permissions:
|
||||
pull-requests: read
|
||||
steps:
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
run: exit 1
|
||||
|
||||
test-external:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
permissions:
|
||||
pull-requests: read
|
||||
steps:
|
||||
@ -55,7 +55,7 @@ jobs:
|
||||
run: exit 1
|
||||
|
||||
test-without-token:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./
|
||||
@ -68,7 +68,7 @@ jobs:
|
||||
run: exit 1
|
||||
|
||||
test-wd-without-token:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@ -84,7 +84,7 @@ jobs:
|
||||
run: exit 1
|
||||
|
||||
test-local-changes:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo "NEW FILE" > local
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
run: exit 1
|
||||
|
||||
test-change-type:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: arc-runners
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: configure GIT user
|
||||
|
||||
@ -36,6 +36,13 @@ inputs:
|
||||
Backslash escapes every potentially unsafe character.
|
||||
required: false
|
||||
default: none
|
||||
predicate-quantifier:
|
||||
description: |
|
||||
Configures the logical quantifier to be used in the filter predicate:
|
||||
'some' - Matches if at least one changed file matches any filter rule (default).
|
||||
'every' - Matches only if all changed files match the filter rules.
|
||||
required: false
|
||||
default: some
|
||||
initial-fetch-depth:
|
||||
description: |
|
||||
How many commits are initially fetched from base branch.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user