Skip to content

Add checks mode input#241

Merged
GrantBirki merged 3 commits into
github:mainfrom
Ugzuzg:feat/required-checks
Feb 17, 2024
Merged

Add checks mode input#241
GrantBirki merged 3 commits into
github:mainfrom
Ugzuzg:feat/required-checks

Conversation

@Ugzuzg

@Ugzuzg Ugzuzg commented Feb 15, 2024

Copy link
Copy Markdown
Contributor

Closes #73

Uses the approach suggested in the issue itself.

@Ugzuzg Ugzuzg requested a review from GrantBirki as a code owner February 15, 2024 19:22
@GrantBirki

Copy link
Copy Markdown
Contributor

@Ugzuzg Have you tested out all these changes in a project somewhere and confirmed that it is working as expected?

@GrantBirki

Copy link
Copy Markdown
Contributor

@Ugzuzg I don't think this quite works. Here is how I tested for you to replicate:

  1. I set checks: required in my Actions config. I confirmed this setting was enabled by viewing my Actions logs

  2. I created a required CI check on my pull request

    image

  3. I attempted to deploy that branch

  4. The deployment failed even though the only failing CI check was one that was not required

    image

@Ugzuzg Ugzuzg force-pushed the feat/required-checks branch 3 times, most recently from 629f689 to b895cb6 Compare February 17, 2024 09:07
@Ugzuzg Ugzuzg force-pushed the feat/required-checks branch from b895cb6 to aecb736 Compare February 17, 2024 09:11
@Ugzuzg

Ugzuzg commented Feb 17, 2024

Copy link
Copy Markdown
Contributor Author

Thanks for pointing that out! Here's the working version: https://github.com/Ugzuzg/actions-sandbox/pull/2

I didn't notice that checks needed to be manually read and passed to the function.

@GrantBirki GrantBirki added the enhancement New feature or request label Feb 17, 2024
@GrantBirki GrantBirki merged commit 78f0f04 into github:main Feb 17, 2024
@GrantBirki GrantBirki mentioned this pull request Feb 17, 2024
@Ugzuzg Ugzuzg deleted the feat/required-checks branch February 17, 2024 21:42
@GrantBirki

Copy link
Copy Markdown
Contributor

@Ugzuzg your changes are live in the following pre-release! Go ahead and give it a try and I'll make it the latest release within the next week for the public to use 🎉

https://github.com/github/branch-deploy/releases/tag/v9.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: does not observe required checks

2 participants