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

chore: create release-please-config.json #246

Closed
wants to merge 3 commits into from

Conversation

sloloris
Copy link
Member

@sloloris sloloris commented Dec 9, 2024

I am trying to test this PR but the release please action is trying to pull this configuration file from main. So I guess I have to merge this into main first.

@sloloris sloloris requested a review from ldhenry December 9, 2024 16:08
@sloloris sloloris marked this pull request as ready for review December 9, 2024 16:08
@sloloris sloloris requested a review from a team as a code owner December 9, 2024 16:08
contents: write
pull-requests: write
outputs:
release-created: ${{ steps.release.outputs.release_created }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
release-created: ${{ steps.release.outputs.release_created }}
release-created: ${{ steps.release.outputs.releases_created }}

Comment on lines +11 to +13
outputs:
release-created: ${{ steps.release.outputs.release_created }}
upload-tag-name: ${{ steps.release.outputs.tag_name }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

These outputs are only needed if we had a separate job that needed to reference them. Based on how you have it now, we could just get rid of them.

Alternatively, we could make the goreleaser stuff a separate job that only runs if a release is created. That might actually be a cleaner implementation because we wouldn't have to call if: ${{ steps.release.outputs.releases_created == 'true' }} in every step.

@sloloris sloloris closed this Dec 10, 2024
@sloloris sloloris deleted the imiller/REL-4176/create-release-please-config branch December 10, 2024 11:45
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