Skip to content
Open
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
30 changes: 30 additions & 0 deletions .github/workflows/all-green.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Check Pull Request CI Status

on:
pull_request:
types:
- opened
- synchronize
- reopened

permissions:
checks: read
statuses: read

jobs:
all-jobs-are-green:
runs-on: ubuntu-latest
steps:
- name: Run Ensure CI Success
uses: DataDog/ensure-ci-success@v1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've built something similar to replace https://github.com/upsidr/merge-gatekeeper in our CI - https://github.com/lendable/sloth - maybe you would be interested in joining the effort? 😊

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gosh, I crawl the web to find an action that fits my needs, and I missed yours 🤕 .

Unfortunately, I won't be able to join, as go is chineese to me.

Though, I'll put some suggestion easy to tackle that would have been a blocker for me. If at some point it's a good fit, I'll consider using yours!

Thank's a lot for the head's up!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, ours is the latter one though (sloth), which is in TypeScript :)

with:
initial-delay-seconds: "100" # what is the longest job that always run ?
max-retries: "60"
ignored-name-patterns: |
dd-gitlab/build
ci/circleci: test-test_extension_ci-8.4-medium+
ci/circleci: integration_snapshots-test_integrations-8.1
ci/circleci: integration_snapshots-test_integrations-8.2
ci/circleci: integration_snapshots-test_integrations-8.3
ci/circleci: integration_snapshots-test_integrations_coverage-8.2