This action prints cancels the current cypress run by calling the Currents API.
Currents API URL. Default value is https://api.currents.dev/api/v1
Required Bearer authorization token.
Required GitHub run id.
Required GitHub run attempt.
- name: Cancel the run if workflow is cancelled
if: ${{ cancelled() }}
uses: currents-dev/cancel-run-action@v1
with:
bearer-token: ${{ secrets.CURRENTS_API_TOKEN }}
github-run-id: ${{ github.run_id }}
github-run-attempt: ${{ github.run_attempt }}