Skip to content

Conversation

OptimumCode
Copy link
Collaborator

@OptimumCode OptimumCode commented Mar 25, 2025

The idea of the workflow is the following:

  • PR from dependabot passes all checks and gets merged into the main branch;
  • The new workflow is triggered (according to the documentation, we will be in the context of the main branch). Based on test runs - the PR commit is already there;
  • Job checks out the branch, builds the image, and uploads it to the packages.

The if condition ensures that only successful PR from dependabot triggers the build.

The concurrency group ensures that only the latest PR from dependabot produces an image.

@OptimumCode OptimumCode requested a review from Julian March 25, 2025 12:36
@OptimumCode
Copy link
Collaborator Author

Hi @Julian! I hope you don't mind if I merge changes without your review (to make sure that they work as expected - until workflow is merged to the main, it cannot be tested).
We can discuss/modify the workflow afterward.

@OptimumCode OptimumCode merged commit f81e909 into main Mar 25, 2025
9 checks passed
@OptimumCode OptimumCode deleted the build-after-successfull-dependabot-pr branch March 25, 2025 16:21
@Julian
Copy link
Member

Julian commented Mar 25, 2025

I don't mind at all and appreciate you moving quick!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants