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

ci: move from manifest to config file #746

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

pendo324
Copy link
Member

@pendo324 pendo324 commented Jan 2, 2024

Issue #, if available: release-please action not triggering as expected, see errors and previous PR (#738)

Description of changes:

  • I re-read the release-please-action documentation, and I think I put the config in the wrong file in my previous PR.
  • Followed the instructions here to create a manifest release since that seems to be what release-please requires when using a config file on v4
  • Moved release-type to the config file instead of the yaml directly because the action seems to branch its behavior depending on if that's present or not

Testing done:

  • Tested on my fork, but its hard to replicate the upstream perfectly

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@pendo324 pendo324 requested a review from weikequ January 2, 2024 23:21
@pendo324 pendo324 self-assigned this Jan 2, 2024
@pendo324 pendo324 requested a review from a team as a code owner January 2, 2024 23:21
Copy link
Contributor

@weikequ weikequ left a comment

Choose a reason for hiding this comment

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

I re-read the release-please-action documentation, and I think I put the config in the wrong file in my previous PR.

This link doesn't point to the right place. Did you mean https://github.com/google-github-actions/release-please-action?tab=readme-ov-file#advanced-release-configuration ?

Followed the instructions here to create a manifest release since that seems to be what release-please requires when using a config file on v4

No link for "here", did you mean https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md ?

.github/workflows/release-please.yaml Show resolved Hide resolved
release-please-config.json Show resolved Hide resolved
release-please-config.json Outdated Show resolved Hide resolved
@pendo324
Copy link
Member Author

pendo324 commented Jan 3, 2024

I re-read the release-please-action documentation, and I think I put the config in the wrong file in my previous PR.

This link doesn't point to the right place. Did you mean https://github.com/google-github-actions/release-please-action?tab=readme-ov-file#advanced-release-configuration ?

Followed the instructions here to create a manifest release since that seems to be what release-please requires when using a config file on v4

No link for "here", did you mean https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md ?

Yeah, it was a copy/paste error, fixed the links in the original PR, thanks.

Signed-off-by: Justin Alvarez <[email protected]>
Copy link
Contributor

@weikequ weikequ left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@pendo324 pendo324 merged commit f140aa3 into runfinch:main Jan 3, 2024
13 checks passed
pendo324 added a commit to runfinch/common-tests that referenced this pull request Jan 5, 2024
Issue #, if available: Release please created "duplicate" PRs:
#104 and
#107. This is because of
the update to major version 4. We saw similar issues in the main finch
repo (see runfinch/finch#746), so this is just
porting over those changes.

*Description of changes:*
- Update release-please config
- pin actions to SHAs

*Testing done:*

- [x] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Justin Alvarez <[email protected]>
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