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

Update Internal Automations #1396

Merged
merged 6 commits into from
Oct 22, 2024
Merged

Conversation

ben-githubs
Copy link
Contributor

Background

Making some updates to our internal automations:

  • ensure they only run on PRs to develop, so customers don't get unexpected failures
  • stop check-packs from commenting "😱 looks like some things could be wrong with the packs" on every PR, regardless of whether an issue actually exists

Changes

  • add a branch condition to each PR trigger
  • fix check-packs.yml

Testing

  • manual testing in GitHub

@ben-githubs ben-githubs requested a review from a team as a code owner October 21, 2024 15:10
@ben-githubs ben-githubs marked this pull request as draft October 21, 2024 15:12
@ben-githubs
Copy link
Contributor Author

@le4ker should we make check-packs, check-deprecated, and check-mitre required for PRs to the develop branch? Or is it sufficient to perform the checks and let the reviewer determine if a failure is acceptable?

@le4ker
Copy link
Member

le4ker commented Oct 21, 2024

Or is it sufficient to perform the checks and let the reviewer determine if a failure is acceptable?

If an action fails, then it should be actionable 😄
In which cases a failure would be acceptable? I'm asking to understand what's happening better.

@ben-githubs
Copy link
Contributor Author

Personally, I am of the opinion that they should just be required and there's no reason they should fail and we still merge, but I recognize edge cases exist - perhaps we discover something wrong with the action that causes it to fail, or check-packs fails but that's okay because we have another PR open that's overhauling them anyway and will fix it

@le4ker
Copy link
Member

le4ker commented Oct 22, 2024

Personally, I am of the opinion that they should just be required and there's no reason they should fail and we still merge, but I recognize edge cases exist - perhaps we discover something wrong with the action that causes it to fail, or check-packs fails but that's okay because we have another PR open that's overhauling them anyway and will fix it

Then let's have them as required, so we can surface and prioritize covering any edge cases they have 😄

@ben-githubs ben-githubs marked this pull request as ready for review October 22, 2024 14:23
@arielkr256 arielkr256 added the github_actions Pull requests that update GitHub Actions code label Oct 22, 2024
@arielkr256 arielkr256 enabled auto-merge (squash) October 22, 2024 14:38
@arielkr256 arielkr256 merged commit b4460b6 into develop Oct 22, 2024
9 checks passed
@arielkr256 arielkr256 deleted the ben/update-check-packs-action branch October 22, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants