You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
update_manifest workflow: fix & use deploy_key instead of user token (#973) (#999)
* ci workflow: fix update_manifest
update_manifest is currently failing to run for 2 reasons:
GITHUB_PULL_REQUEST is set to a PR number during the pull_request event, and nothing during the push event,
the script expects `false`
fixing by testing GITHUB_PULL_REQUEST for nonempty
GITHUB_BRANCH is set to github.head_ref, only available during pull_request events,
the script tests for "master" or "stable"
fixing by updating GITHUB_BRANCH to use github.ref sans the refs/heads/ prefix
and removed the unused vars, as well as github.event.after which doesn't seem documented for push builds
* update_manifest: use deploy key instead of user token
same as ansible/ansible-hub-ui#946
the gpg-encrypted key is added to the repo, encrypted by a passphrase added to secrets
No-Issue
* post-job-template.yml.j2 - update and rerun `plugin-template --github galaxy_ng`
(cherry picked from commit 436ffc4)
Co-authored-by: Martin Hradil <mhradil@redhat.com>
Co-authored-by: David Newswanger <dnewswan@redhat.com>
0 commit comments