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

Use PUBLISH_TOKEN for publishing mixins #3146

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

kichristensen
Copy link
Contributor

What does this change

GITHUB_TOKEN only have access to the current repository, when publishing mixins we need permission to create commits in the packages repo.

What issue does it fix

Related to #3073

Notes for the reviewer

Because the secret is only available to workflows, and requires a canary release or tagged release to be triggered, it has not been tested if the secret is still valid. Worst case it will fail just as much as it did before.

Checklist

  • Did you write tests?
  • Did you write documentation?
  • Did you change porter.yaml or a storage document record? Update the corresponding schema file.
  • If this is your first pull request, please add your name to the bottom of our Contributors list. Thank you for making Porter better! 🙇‍♀️

GITHUB_TOKEN only have access to the current repository, when publishing
mixins we need permission to create commits in the packages repo.

Signed-off-by: Kim Christensen <kimworking@gmail.com>
@schristoff schristoff enabled auto-merge (squash) June 3, 2024 23:03
@schristoff
Copy link
Member

whats up with DCO

Signed-off-by: Kim Christensen <kimworking@gmail.com>
@schristoff schristoff disabled auto-merge June 4, 2024 21:05
@schristoff schristoff merged commit 0173263 into getporter:main Jun 4, 2024
37 checks passed
@kichristensen kichristensen deleted the canaryPushPermission branch June 4, 2024 21:59
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