From 625b3531929de48b66b4a3957f318c307490b33b Mon Sep 17 00:00:00 2001 From: Bruce Bujon Date: Fri, 2 May 2025 10:35:30 +0200 Subject: [PATCH 1/2] fix(ci): Fix dependabot PR labels --- .github/dependabot.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c272b36b581..f914fd12ade 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,7 +8,13 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "monthly" + interval: "weekly" + labels: + - "comp: tooling" + - "tag: dependencies" + - "tag: no release notes" + commit-message: + prefix: "chore(ci): " groups: gh-actions-packages: patterns: From ad5e365ee8e1e5ba2fe3b2bc3077b4b18b707cc6 Mon Sep 17 00:00:00 2001 From: Bruce Bujon Date: Mon, 12 May 2025 09:39:42 +0200 Subject: [PATCH 2/2] chore: Improve workflow consistency --- .github/workflows/README.md | 18 ++++++++++-------- .../{all-green.yml => check-ci-pipelines.yml} | 3 ++- 2 files changed, 12 insertions(+), 9 deletions(-) rename .github/workflows/{all-green.yml => check-ci-pipelines.yml} (93%) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 9dfa90f0eb6..3148b7a5a58 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -115,6 +115,16 @@ _Action:_ _Notes:_ Results are sent on both production and staging environments. +### check-ci-pipelines [🔗](check-ci-pipelines.yaml) + +_Trigger:_ When opening or updating a PR. + +_Action:_ This action will check all other continuous integration jobs (Github action, Gitlab, CircleCi), and will fail if any of them fails. +The purpose of this job is to be required for PR merges, achieving Green CI Policy. +It got an `ignored` parameters to exclude some jobs if they are temprorary failing. + +_Recovery:_ Manually trigger the action on the desired branch. + ### comment-on-submodule-update [🔗](comment-on-submodule-update.yaml) _Trigger:_ When creating a PR commits to `master` or a `release/*` branch with a Git Submodule update. @@ -137,14 +147,6 @@ _Action:_ Build the Java Client Library and runs [the system tests](https://gith _Recovery:_ Manually trigger the action on the desired branch. -### all-green [🔗](all-green.yaml) - -_Trigger:_ Any pull request. - -_Action:_ This action will check all other jobs (Github action, Gitlab, CircleCi), and will fail if any of them fails. This action got an `ignored` paraemters to exclude some jobs if they are temprorary failing. The purpose of this job is to be required for merges, achieving Green CI Policy. - -_Recovery:_ Manually trigger the action on the desired branch. - ## Maintenance GitHub actions should be part of the [repository allowed actions to run](https://github.com/DataDog/dd-trace-java/settings/actions). diff --git a/.github/workflows/all-green.yml b/.github/workflows/check-ci-pipelines.yml similarity index 93% rename from .github/workflows/all-green.yml rename to .github/workflows/check-ci-pipelines.yml index bc2204bb6e9..2a72ca48fc1 100644 --- a/.github/workflows/all-green.yml +++ b/.github/workflows/check-ci-pipelines.yml @@ -16,7 +16,8 @@ permissions: statuses: read jobs: - all-jobs-are-green: + check-ci-pipelines: + name: Check CI Pipelines runs-on: ubuntu-latest steps: - name: Run Ensure CI Success