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

Merge no ci label into not ready #2580

Merged
merged 1 commit into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge no ci label into not ready
  • Loading branch information
AlekSi committed May 9, 2023
commit c8c8ddcc93c94087f245beda586eeebd800917ee
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
# Runs on Wednesday after deps repo.
# Apply the "no ci" label to prevent cascaded CI runs on each auto-merge.
# Apply the "not ready" label to prevent cascaded CI runs on each auto-merge.

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
assignees: [AlekSi]
open-pull-requests-limit: 20
schedule:
Expand All @@ -16,7 +16,7 @@ updates:

- package-ecosystem: "docker"
directory: "/build/docker"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
assignees: [AlekSi]
open-pull-requests-limit: 20
schedule:
Expand All @@ -25,7 +25,7 @@ updates:
time: "01:42"
- package-ecosystem: "docker"
directory: "/build/deps"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
open-pull-requests-limit: 20
schedule:
interval: "weekly"
Expand All @@ -34,7 +34,7 @@ updates:

- package-ecosystem: "gomod"
directory: "/"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
assignees: [AlekSi]
open-pull-requests-limit: 20
schedule:
Expand All @@ -43,7 +43,7 @@ updates:
time: "01:42"
- package-ecosystem: "gomod"
directory: "/integration"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
assignees: [AlekSi]
open-pull-requests-limit: 20
schedule:
Expand All @@ -52,7 +52,7 @@ updates:
time: "01:42"
- package-ecosystem: "gomod"
directory: "/tools"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
assignees: [AlekSi]
open-pull-requests-limit: 20
schedule:
Expand All @@ -61,7 +61,7 @@ updates:
time: "01:42"
- package-ecosystem: "gomod"
directory: "/tools/golangci"
labels: ["deps", "no ci"]
labels: ["deps", "not ready"]
assignees: [AlekSi]
open-pull-requests-limit: 20
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pull_request_rules:
- "author != dependabot[bot]"
- "base = main"
- "branch-protection-review-decision = APPROVED"
- "label != 'no ci'"
- "label != 'not ready'"
actions:
update:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conform-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
timeout-minutes: 5

# No `trust` label check because we don't checkout PR's code.
# No `no ci` label to prevent accidental auto-merges: jobs skipped with `if` conditional are considered successful.
# No `not ready` label to prevent accidental auto-merges: jobs skipped with `if` conditional are considered successful.
if: github.event_name == 'pull_request_target'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
types:
- labeled
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docs
on:
pull_request:
types:
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Format
on:
pull_request:
types:
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Go
on:
pull_request:
types:
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand All @@ -165,7 +165,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration-trust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request_target:
types:
# not for "labeled" to prevent two builds for "labeled" and "unlabeled" when labels are changed
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
github.event_name != 'pull_request_target' ||
(
contains(github.event.pull_request.labels.*.name, 'trust') &&
!contains(github.event.pull_request.labels.*.name, 'no ci')
!contains(github.event.pull_request.labels.*.name, 'not ready')
)

strategy:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
runs-on: ubuntu-22.04

needs: test
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Submit coveralls
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Integration
on:
pull_request:
types:
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
group: paid
timeout-minutes: 45

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

strategy:
fail-fast: false
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
runs-on: ubuntu-22.04

needs: test
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Submit coveralls
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: JS
on:
pull_request:
types:
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
pull_request_target:
types:
# not for "labeled" to prevent two builds for "labeled" and "unlabeled" when labels are changed
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
github.event_name != 'pull_request_target' ||
(
contains(github.event.pull_request.labels.*.name, 'trust') &&
!contains(github.event.pull_request.labels.*.name, 'no ci') &&
!contains(github.event.pull_request.labels.*.name, 'not ready') &&
contains(github.event.pull_request.labels.*.name, 'packages')
)

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Security
on:
pull_request:
types:
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-22.04
timeout-minutes: 10

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'no ci')
if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')

steps:
- name: Checkout code
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/website-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request_target:
types:
# not for "labeled" to prevent two builds for "labeled" and "unlabeled" when labels are changed
- unlabeled # if GitHub Actions stuck, add and remove "no ci" label to force rebuild
- unlabeled # if GitHub Actions stuck, add and remove "not ready" label to force rebuild
- opened
- reopened
- synchronize
Expand All @@ -30,7 +30,7 @@ jobs:

if: >
contains(github.event.pull_request.labels.*.name, 'trust') &&
!contains(github.event.pull_request.labels.*.name, 'no ci') &&
!contains(github.event.pull_request.labels.*.name, 'not ready') &&
(contains(github.event.pull_request.labels.*.name, 'blog/engineering') ||
contains(github.event.pull_request.labels.*.name, 'blog/marketing'))

Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:

if: >
contains(github.event.pull_request.labels.*.name, 'trust') &&
!contains(github.event.pull_request.labels.*.name, 'no ci') &&
!contains(github.event.pull_request.labels.*.name, 'not ready') &&
contains(github.event.pull_request.labels.*.name, 'documentation')

environment:
Expand Down