ci(test-unit): limit runs to only test-e2e updates
@@ -7,13 +7,15 @@ on:
jobs:
link-artifacts:
runs-on: ubuntu-latest
- if: github.event.state == 'success'
+ if: >-
+ github.event.state == 'success' &&
+ github.event.context == 'test-e2e'
steps:
# TODO(danh): remove this once we understand the incoming event webhook
# payload and can limit the conditional
- name: Debug
run:
- echo ${{ toJSON(github.event) }}
+ echo '${{ toJSON(github.event) }}'
- uses: larsoner/circleci-artifacts-redirector-action@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
