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

TCN-875 Various bugs in release action #86

Merged

Conversation

elliotmjackson
Copy link
Contributor

  1. contains extra v in pr output
  2. does not trigger new tag after PR merge
  3. does not create a new release on tag
  4. logic to update v1 branch never completed

all resolved.

Copy link
Member

@stefanvanburen stefanvanburen left a comment

Choose a reason for hiding this comment

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

I might not be the best person to review this one 😄; is this referencing release workflows we have elsewhere?

Comment on lines +49 to +52
commit-message: "Update version to v${{env.VERSION}}"
branch: release/v${{env.VERSION}}
delete-branch: true
title: "Release ${{env.VERSION}}"
body: Release prepared for ${{env.VERSION}}
title: "Release v${{env.VERSION}}"
Copy link
Member

Choose a reason for hiding this comment

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

won't these vs be doubled? (I realize this looks a lot like https://github.com/bufbuild/buf/blob/main/.github/workflows/release.yaml so maybe not?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

these will not, the input should be x.y.z without any v, even though that is not enforced at this stage 😂

private_key: ${{ secrets.TOKEN_EXCHANGE_GH_APP_PRIVATE_KEY }}
repository: ${{ github.repository }}
permissions: >-
{"contents": "write"}
Copy link
Member

Choose a reason for hiding this comment

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

does this need "pull_requests": "write" permission, similar to buf's release workflow?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this one does not, the one you reference is OP

Copy link
Member

@stefanvanburen stefanvanburen left a comment

Choose a reason for hiding this comment

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

stamping assuming you know what you're doing 😄

@elliotmjackson elliotmjackson merged commit 249c4c6 into main Dec 12, 2022
@elliotmjackson elliotmjackson deleted the ejackson/tcn-875-various-bugs-in-buf-setup-action-release branch December 12, 2022 17:42
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.

None yet

2 participants