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

formulae_detect: actually use origin/master for starting SHA1 #908

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

carlocab
Copy link
Member

Here, origin_ref points to the temporary merge group branch, so it
will be the same as GITHUB_SHA.

Here, `origin_ref` points to the temporary merge group branch, so it
will be the same as `GITHUB_SHA`.
diff_start_sha1 = rev_parse(origin_ref)
origin_ref = "origin/#{github_ref.gsub(%r{^refs/heads/}, "")}"
diff_end_sha1 = github_sha
# Use GitHub Actions variables for branch jobs.
Copy link
Member

Choose a reason for hiding this comment

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

Just for future reference: this is the bit that should be fixed for the push job to work.

@carlocab carlocab merged commit 48c0a31 into Homebrew:master Apr 14, 2023
2 checks passed
@carlocab carlocab deleted the use-origin-master branch April 14, 2023 13:45
@carlocab
Copy link
Member Author

Success! https://github.com/Homebrew/homebrew-core/actions/runs/4700582256/jobs/8335467036

@MikeMcQuaid
Copy link
Member

Nice work @carlocab!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants