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

Trigger test pipeline from publish.yml instead of duplication #11

Open
Angelina-C opened this issue Apr 10, 2024 · 0 comments
Open

Trigger test pipeline from publish.yml instead of duplication #11

Angelina-C opened this issue Apr 10, 2024 · 0 comments

Comments

@Angelina-C
Copy link
Collaborator

Angelina-C commented Apr 10, 2024

Right now, the test pipeline is duplicated in publish.yml. This can be replaced by triggering the test pipeline.
For this, we need an access token to the repo from the organisation (done by an organisation admin). Then, we can use https://github.com/convictional/trigger-workflow-and-wait to trigger the other pipeline.
See also https://medium.com/@husnainsiddique581/trigger-github-action-from-another-repo-using-trigger-workflow-and-wait-api-f2e572cb22b7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant