summaryrefslogtreecommitdiff
path: root/.github/workflows/pr-title.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-04 10:47:27 -0400
committerGitHub <noreply@github.com>2022-04-04 10:47:27 -0400
commitaecb2023d240b69690f35721efcee7d724eba3f5 (patch)
treee34509595ef6dbb47a19bc234f94f7027239245f /.github/workflows/pr-title.yml
parent0e3a704f69b53246ff770aba3a1258a6c2d35ba0 (diff)
parent6375a85055b4472846445a37464851429edfa447 (diff)
downloadpodman-aecb2023d240b69690f35721efcee7d724eba3f5.tar.gz
podman-aecb2023d240b69690f35721efcee7d724eba3f5.tar.bz2
podman-aecb2023d240b69690f35721efcee7d724eba3f5.zip
Merge pull request #13724 from naveensrinivasan/naveen/feat/set-perms-actions
[CI:DOCS] Set permissions for GitHub actions
Diffstat (limited to '.github/workflows/pr-title.yml')
-rw-r--r--.github/workflows/pr-title.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml
index 2b57392ce..66599a86d 100644
--- a/.github/workflows/pr-title.yml
+++ b/.github/workflows/pr-title.yml
@@ -7,8 +7,13 @@ on:
branches:
- "!master" # causes errors; reason unknown
+permissions:
+ contents: read
+
jobs:
update_pr:
+ permissions:
+ pull-requests: write # for tzkhan/pr-update-action to update PRs
runs-on: ubuntu-latest
steps:
- uses: tzkhan/pr-update-action@bbd4c9395df8a9c4ef075b8b7fe29f2ca76cdca9 # v2