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

pr-publish: use workflow_dispatch trigger #8116

Merged
merged 1 commit into from Jul 28, 2020

Conversation

dawidd6
Copy link
Member

@dawidd6 dawidd6 commented Jul 28, 2020

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew tests with your changes locally?

This will create an option to trigger bottle publish via GitHub UI, as shown here: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/

Needs to be merged in sync with: Homebrew/homebrew-core#58725

@request-info request-info bot added the needs response Needs a response from the issue/PR author label Jul 28, 2020
@dawidd6 dawidd6 removed the needs response Needs a response from the issue/PR author label Jul 28, 2020
@Homebrew Homebrew deleted a comment from request-info bot Jul 28, 2020
@dawidd6 dawidd6 requested a review from jonchang July 28, 2020 09:32
@@ -16,6 +16,10 @@ def pr_publish_args
EOS
flag "--tap=",
description: "Target tap repository (default: `homebrew/core`)."
flag "--workflow=",
description: "Target workflow filename (default: `publish-commit-bottles.yml`)."
Copy link
Member

Choose a reason for hiding this comment

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

When would you use a different name here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably for other third-party taps, this option might be useful. I'm going to actually use it in mine.

Copy link
Member

Choose a reason for hiding this comment

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

Cool. I wonder if it can be inferred somehow 🤔. Don't let that block this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, nothing that I am aware of as of now, but I get the idea.

Library/Homebrew/dev-cmd/pr-publish.rb Outdated Show resolved Hide resolved
@dawidd6 dawidd6 merged commit 7279e6f into Homebrew:master Jul 28, 2020
@dawidd6 dawidd6 deleted the workflow-dispatch-publish branch July 28, 2020 10:36
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 21, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants