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

Automate publishing to automation hub #1616

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

TheRealHaoLiu
Copy link
Member

@TheRealHaoLiu TheRealHaoLiu commented Oct 25, 2023

fixes #1579

SUMMARY
  • Add github action to create PR to publish to automation hub
  • Add AWX_AUTO_GITHUB_TOKEN to secret (not in PR)
  • Add PREV_VERSION and print to Makefile
ISSUE TYPE
  • Bug, Docs Fix or other nominal change
ADDITIONAL INFORMATION

Previously it will use scripts from the release tag to do the release

If we have to fix up the scripts for any reason we would have to retag

This will allow us to modify the publishing script without having to retag the release.
@TheRealHaoLiu
Copy link
Member Author

I accidently push the change to devel branch directly...

but HOW WAS I ABLE TO DO THAT @rooftopcellist

@TheRealHaoLiu
Copy link
Member Author

TL;DR admin privilege with bypass branch protection permission...

disabling admin's permission to push to devel to prevent it for the future

image

@TheRealHaoLiu TheRealHaoLiu merged commit a8153d5 into ansible:devel Oct 26, 2023
8 checks passed
@TheRealHaoLiu TheRealHaoLiu deleted the operator-hub-publish branch October 26, 2023 15:27
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.

Auto upload operator to operator hub upon new release
2 participants