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

feat: trigger external repo #52

Merged
merged 3 commits into from
Apr 3, 2023
Merged

feat: trigger external repo #52

merged 3 commits into from
Apr 3, 2023

Conversation

KyleTryon
Copy link
Contributor

@KyleTryon KyleTryon commented Mar 30, 2023

Aims to resolve #14 by enabling the action to trigger additional CircleCI projects beyond the current repository.

This is useful, for instance, if you have a remote repository set to build on the latest version of a docker image, you can use this action in the repo which builds the docker image, to test it with the remote repository immediately.

New optional inputs

  target-slug:
    required: false
    description: 'The slug of the target CircleCI project. For example, "github/<org>/<project>". 
Will default to the current project. Can be overwritten with "TARGET_SLUG" environment variable.'
  target-branch:
    required: false
    description: 'The branch of the target CircleCI project. Will default to the current branch name. 
This should be overwritten if "target-slug" is set. Can be overwritten with "TARGET_BRANCH" environment variable.'
  target-tag:
    required: false
    description: 'The tag of the target CircleCI project. Will default to the current tag name if set. 
This or branch should be overwritten if "target-slug" is set. Can be overwritten with "TARGET_TAG" environment variable.'

@KyleTryon KyleTryon requested a review from a team March 30, 2023 21:21
Copy link

@brivu brivu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@KyleTryon KyleTryon merged commit 8cf7a56 into main Apr 3, 2023
h-parekh pushed a commit to h-parekh/trigger-circleci-pipeline-action that referenced this pull request Jul 6, 2023
This was added in CircleCI-Public#52

Updating readme for easier reference
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.

Request: Add ability to trigger another org's circleci pipeline
2 participants