diff --git a/README.md b/README.md index faafcaa..373b989 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,23 @@ Create a new issue using a github-actions user as the author. These will be crea **workflow.yml** ```yml -steps: - - name: Create issue - uses: silverstripe/gha-issue@v1 - with: - title: My issue title - description: | - This text will appear in the body of the GitHub issue\n - \n - You can add line breaks\n - \n - ## My heading\n - - Markdown is supported\n +permissions: {} + +jobs: + createissue: + # ... + permissions: + issue: write + steps: + - name: Create issue + uses: silverstripe/gha-issue@v1 + with: + title: My issue title + description: | + This text will appear in the body of the GitHub issue\n + \n + You can add line breaks\n + \n + ## My heading\n + - Markdown is supported\n ```