Skip to content

Commit

Permalink
test: github action on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
olerichter00 committed Apr 26, 2024
1 parent d7c5036 commit 8da1183
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trigger-test-js-pr-on-build-me-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Because we don't run all tests on every PR, adding the label "build-me" to a PR will trigger all tests to run on CircleCI.
name: Run all js tests on "build-me" label
on:
pull_request:
types:
- labeled

jobs:
trigger:
permissions:
contents: none
runs-on: ubuntu-latest
steps:
- name: Trigger all js tests
run: |
curl \
-X POST \
--header "Content-Type: application/json" \
-d "{\"branch\": \"$GITHUB_HEAD_REF\"}" \
https://circleci.com/api/v1.1/project/github/artsy/eigen/build?circle-token=${{ secrets.CircleToken }}

0 comments on commit 8da1183

Please sign in to comment.