Skip to content

Commit

Permalink
ci: add PR permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
talss89 committed May 1, 2023
1 parent c09d12e commit 0ef2f98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
test:
Expand Down Expand Up @@ -66,7 +67,7 @@ jobs:
base: main
commit-message: "cov: update"
delete-branch: true

- name: 'Merge doc pull request'
uses: kalgurn/merge-pr-action@1.0.0
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/phpdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: [ main ]

permissions:
contents: write
pull-requests: write

jobs:
phpdoc:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0ef2f98

Please sign in to comment.