Created
January 28, 2021 04:21
-
-
Save heymartinadams/cd9ee3704118256bdf89a933481efea6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Reflect Regression Tests | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# job name | |
run-staging-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Test name | |
run: | |
'curl -X POST -H ''X-Api-Key:<API_KEY>'' -d ''{ | |
"gitHub": { "owner": "<GITHUB_ORG>", "repo": "<GITHUB_REPO>", "sha": "${{ | |
github.event.pull_request.head.sha }}" } }'' | |
https://api.reflect.run/v1/tags/<TAG>/executions' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment