diff --git a/.github/workflows/trigger-smith-cz.yml b/.github/workflows/trigger-smith-cz.yml new file mode 100644 index 000000000..8063b7666 --- /dev/null +++ b/.github/workflows/trigger-smith-cz.yml @@ -0,0 +1,20 @@ +name: Trigger Smith CZ Pipeline + +on: + pull_request: + push: + branches: + - develop + +jobs: + trigger-smith-cz: + runs-on: ubuntu-latest + steps: + - name: Trigger Smith CZ Pipeline + run: | + curl -X POST \ + --form token=$SMITH_CZ_TRIGGER_TOKEN \ + --form ref=develop \ + "https://lc.llnl.gov/gitlab/api/v4/projects/521/trigger/pipeline" + env: + SMITH_CZ_TRIGGER_TOKEN: ${{ secrets.SMITH_CZ_TRIGGER_TOKEN }}