Skip to content

Commit

Permalink
Fix pre-commit spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriziovitale committed Dec 23, 2024
1 parent c2e4697 commit cc63a1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/dispatch-resume-workflow/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Action for Dispatching Workflows

This action triggers another GitHub Actions workflow, using the `workflow_dispatch` event.
This action triggers another GitHub Actions workflow, using the `workflow_dispatch` event.
The workflow must be configured for this event type e.g. `on: [workflow_dispatch]`

This allows you to chain workflows, the classic use case is have a CI build workflow, trigger a CD release/deploy workflow when it completes. Allowing you to maintain separate workflows for CI and CD, and pass data between them as required.
Expand All @@ -23,7 +23,7 @@ For details of the `workflow_dispatch` even see [this blog post introducing this

> **Required.** A GitHub access token (PAT) with write access to the repo in question.
>
> **NOTE.** The automatically provided token e.g. `${{ secrets.GITHUB_TOKEN }}` can not be used, GitHub prevents this token from being able to fire the `workflow_dispatch` and `repository_dispatch` event. [The reasons are explained in the docs](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token).
> **NOTE.** The automatically provided token e.g. `${{ secrets.GITHUB_TOKEN }}` can not be used, GitHub prevents this token from being able to fire the `workflow_dispatch` and `repository_dispatch` event.[The reasons are explained in the docs](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token).
> The solution is to manually create a PAT and store it as a secret e.g. `${{ secrets.PERSONAL_TOKEN }}`
### `inputs`
Expand Down Expand Up @@ -101,7 +101,7 @@ For details of the `workflow_dispatch` even see [this blog post introducing this
### `workflow-logs`

> The logs of the triggered workflow based if `inputs.workflow-logs` is set to either `output`, or `json-output`.
> The logs of the triggered workflow based if `inputs.workflow-logs` is set to either `output`, or `json-output`.
> Based on the value, result will be:
>
> * `output`: Multiline string
Expand Down

0 comments on commit cc63a1c

Please sign in to comment.