Skip to content

Commit

Permalink
Wrap example workflows into spoiler
Browse files Browse the repository at this point in the history
  • Loading branch information
alexesprit committed Oct 6, 2020
1 parent ba25992 commit bc04851
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ The action requires GitHub token for authentication; no username or e-mail are r

Here is an example of a workflow using `action-update-file`:

<details>
<summary>workflow.yml (Click to expand)</summary>

```yml
name: Resources
on: repository_dispatch
Expand All @@ -27,11 +30,15 @@ jobs:
commit-msg: Update resources
github-token: ${{ secrets.GITHUB_TOKEN }}
```
</details>
Note that this action does not change files. They should be changed with scripts and/or other actions.
You can also update multiple files:
<details>
<summary>workflow.yml (Click to expand)</summary>
```yml
name: Resources
on: repository_dispatch
Expand All @@ -54,6 +61,7 @@ jobs:
commit-msg: Update resources
github-token: ${{ secrets.GITHUB_TOKEN }}
```
</details>
### Inputs
Expand Down

0 comments on commit bc04851

Please sign in to comment.