Skip to content

Commit 9e9acfe

Browse files
author
Release Manager
committed
gh-37222: CI Linux Incremental: Do not require label "c: packages: ..." to be set <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> The workflow is already conditionalized to only run when changes to files in `build/pkgs/` or `pkgs/` are made, which is good enough. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #37222 Reported by: Matthias Köppe Reviewer(s):
2 parents 81a23e1 + 1310cfd commit 9e9acfe

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/ci-linux-incremental.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ name: CI Linux incremental
1717

1818
on:
1919
pull_request:
20-
types:
21-
# Defaults
22-
- opened
23-
- synchronize
24-
- reopened
25-
# When a CI label is added
26-
- labeled
2720
paths:
2821
- 'build/pkgs/**'
2922
- 'pkgs/**'
@@ -49,7 +42,7 @@ jobs:
4942
- uses: actions/checkout@v4
5043
- name: Get all packages that have changed
5144
id: changed-packages
52-
uses: tj-actions/changed-files@v41
45+
uses: tj-actions/changed-files@v42
5346
with:
5447
files_yaml: |
5548
configures:
@@ -81,14 +74,6 @@ jobs:
8174
8275
test:
8376
needs: [changed_files]
84-
if: |
85-
github.event_name != 'pull_request' ||
86-
((github.event.action != 'labeled' &&
87-
(contains(github.event.pull_request.labels.*.name, 'c: packages: standard') ||
88-
contains(github.event.pull_request.labels.*.name, 'c: packages: optional'))) ||
89-
(github.event.action == 'labeled' &&
90-
(github.event.label.name == 'c: packages: optional' ||
91-
github.event.label.name == 'c: packages: standard')))
9277
uses: ./.github/workflows/docker.yml
9378
with:
9479
# Build incrementally from published Docker image

0 commit comments

Comments
 (0)