Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crawr authored Mar 26, 2024
1 parent ac281b0 commit 310e0c9
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
name: CI
# This workflow is triggered when a label is added to an issue.
# This workflow is triggered when a commit is pushed to main
on:
push:
branches:
- main

jobs:
processLabelAction:
name: Trigger CircleCI Pipeline
# You may pin to the exact commit or the version.
# uses: CircleCI-Public/trigger-circleci-pipeline-action@a81cd720792a6088debd7f182b552845abb86f1b
uses: CircleCI-Public/trigger-circleci-pipeline-action@v1.2.0
with:
# An optional additional metadata parameter. Will be available on the CircleCI pipeline as GHA_Meta.
GHA_Meta: # optional
# 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-slug: # optional
# 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-branch: # optional
# 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.
target-tag: # optional
trigger-circleci:
runs-on: ubuntu-latest
steps:
- name: CircleCI Trigger on Pull Request
uses: CircleCI-Public/trigger-circleci-pipeline-action@v1.0
env:
CCI_TOKEN: ${{ secrets.CCI_TOKEN }}

0 comments on commit 310e0c9

Please sign in to comment.