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: release please action only creates/manages pr #53

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

bruuuuuuuce
Copy link
Contributor

@bruuuuuuuce bruuuuuuuce commented Jan 3, 2024

Releases are failing with

 The calling GitHub Action is not allowed to publish, because: publishing is only allowed from 'tag' refType, this token has 'branch' refType. See https://dart.dev/go/publishing-from-github

According to the dart docs

Only GitHub Actions triggered by a push of a tag that matches this tag pattern will be allowed to publish your package.

This pr separates out the release please action and the actual publish action into separate workflow files. The idea being the release please action will be in charge of creating tags once the release please prs are merged, and then the publish action will get triggered based upon those tag creations

@bruuuuuuuce bruuuuuuuce marked this pull request as ready for review January 3, 2024 22:11
@bruuuuuuuce bruuuuuuuce merged commit 0cfdfc1 into main Jan 3, 2024
1 check passed
@bruuuuuuuce bruuuuuuuce deleted the bruuuuuuuce-patch-2 branch January 3, 2024 22:55
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