Skip to content

Commit

Permalink
Merge pull request #210 from zeebe-io/permissions-in-examples
Browse files Browse the repository at this point in the history
Permissions in examples
  • Loading branch information
korthout committed Dec 24, 2021
2 parents 791c35e + 744b399 commit f2c8506
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
build:
name: Create backport PRs
runs-on: ubuntu-latest
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
# Only run when pull request is merged
# or when a comment containing `/backport` is created
if: >
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
build:
name: Create backport PRs
runs-on: ubuntu-latest
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
# Don't run on closed unmerged pull requests
if: github.event.pull_request.merged
steps:
Expand Down Expand Up @@ -91,6 +94,9 @@ jobs:
build:
name: Create backport PRs
runs-on: ubuntu-latest
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
# Only run when pull request is merged
# or when a comment containing `/backport` is created
if: >
Expand Down

0 comments on commit f2c8506

Please sign in to comment.