ci: fix permissions

also updated example in readme
This commit is contained in:
Matyáš Caras 2024-07-30 17:32:24 +02:00
parent 4e1da0d79a
commit 35bf0c3452
Signed by: hernik
GPG key ID: 2A3175F98820C5C6
2 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,8 @@ on:
types: [opened, edited, closed, reopened, assigned, unassigned]
issue_comment:
types: [created, edited, deleted]
permissions:
issues: write
jobs:
run-my-action:
name: Run sync

View file

@ -13,7 +13,8 @@ on:
types: [opened, edited, closed, reopened, assigned, unassigned]
issue_comment:
types: [created, edited, deleted]
permissions:
issues: write
jobs:
run-my-action:
name: Sync stuff to Freelo