Skip to content

Add FAQ about captcha types (#28) #22

Add FAQ about captcha types (#28)

Add FAQ about captcha types (#28) #22

Workflow file for this run

# Send an event to other repos on push to main
name: event_push
on:
push:
branches: [main, staging, dev, release/*]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
GITHUB_TOKEN: ${{ secrets.PROSOPONATOR_PAT }}
GH_TOKEN: ${{ secrets.PROSOPONATOR_PAT }}
CARGO_TERM_COLOR: always
NODE_OPTIONS: "--max-old-space-size=4096"
defaults:
run:
shell: bash
jobs:
event:
runs-on: ubuntu-latest
steps:
- name: Print contexts
uses: prosopo/captcha/.github/actions/print_contexts@main
with:

Check failure on line 30 in .github/workflows/event_push.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/event_push.yml

Invalid workflow file

You have an error in your yaml syntax on line 30
INPUTS_CONTEXT: ${{ toJson(inputs) }}
NEEDS_CONTEXT: ${{ toJson(needs) }}
VARS_CONTEXT: ${{ toJson(vars) }}
SECRETS_CONTEXT: ${{ toJson(secrets) }}
- name: Send event
run: |
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.everest-preview+json" \
-d '{"event_type": "capctha_push", "client_payload": { \
"branch": "${{ github.ref_name }}" \
"commit": "${{ github.sha }}"
}}' \
https://api.github.com/repos/prosopo/captcha-private/dispatches