From 5cb14f78f020814e5295ff2c04fc342db9e11054 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Mon, 6 Apr 2026 22:04:26 -0400 Subject: [PATCH] Fix skipping ci tests when requirements tracking file changes --- .github/workflows/ci-no-op.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/ci.yml | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/ci-no-op.yml diff --git a/.github/workflows/ci-no-op.yml b/.github/workflows/ci-no-op.yml new file mode 100644 index 0000000..710a213 --- /dev/null +++ b/.github/workflows/ci-no-op.yml @@ -0,0 +1,29 @@ +name: CI + +on: + pull_request: + paths: + - "scripts/make_release_requirements.json" + +jobs: + ci: + runs-on: ubuntu-latest + strategy: + matrix: + php-version: + - '8.0' + - '8.1' + - '8.2' + - '8.3' + - '8.4' + - '8.5' + future-release: [false] + include: + - php-version: '8.6' + future-release: true + fail-fast: false + name: PHP ${{ matrix.php-version }} + + steps: + - name: No-op + run: exit 0 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5bf644..c219d97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ on: paths-ignore: - "scripts/make_release_requirements.json" pull_request: + paths-ignore: + - "scripts/make_release_requirements.json" schedule: - cron: '0 17 * * *'