You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Invoke Paragon Endpoint
v1.0.3
This action will post into your Workflow endpoint the Github payload as is.
You can send custom headers, adding those to the HTTP Request by specifying inputs.
The only requirement is to publish a workflow, exposing it via API Endpoint, waiting for "POST."
This action expects the workflow to return a 200 OK response.
The Workflow ID is retrived by the action from your Github secrets, using the environment vars.
Do not expose your Workflow ID at any moment.
- Go to your repository's settings and click
Secrets
in the sidebar. - Add a new secret and set the name to
PARAGON_WORKFLOW_ID
. - Paste the copied Endpoint ID from Paragon into the
Value
. - Click
Add secret
.
steps:
- uses: kedoska/invoke-paragon-action@v1
env:
PARAGON_WORKFLOW_ID: ${{ secrets.PARAGON_WORKFLOW_ID }}
To use request header parameters, sending values to Paragon as HTTP Headers, pass in an input matching the parameter name.
steps:
- uses: kedoska/invoke-paragon-action@v1
with:
repository: ${{ github.repository }}
status: "completed"
env:
PARAGON_WORKFLOW_ID: ${{ secrets.PARAGON_WORKFLOW_ID }}