Skip to content

Commit

Permalink
Add permissions field to examples
Browse files Browse the repository at this point in the history
Closes #13
  • Loading branch information
taiki-e committed Jun 15, 2022
1 parent 1ffc0a5 commit 0015858
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ Currently, changelog format and supported tag names have the following rule:
```yaml
name: Release

permissions:
contents: write

on:
push:
tags:
Expand All @@ -81,6 +84,9 @@ jobs:
```yaml
name: Release

permissions:
contents: write

on:
push:
tags:
Expand Down Expand Up @@ -112,6 +118,9 @@ You can customize the title of the release by `title` option.
```yaml
name: Release
permissions:
contents: write
on:
push:
tags:
Expand Down Expand Up @@ -144,6 +153,9 @@ If the `changelog` option is not specified, the changelog is ignored and only th
```yaml
name: Release
permissions:
contents: write
on:
push:
tags:
Expand All @@ -167,6 +179,9 @@ You can reject releases from commits not contained in branches that match the sp
```yaml
name: Release
permissions:
contents: write
on:
push:
tags:
Expand Down

0 comments on commit 0015858

Please sign in to comment.