summaryrefslogtreecommitdiff
path: root/.github/workflows/data-update.yml
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-05-08 23:55:23 +0200
committerGitHub <noreply@github.com>2025-05-08 23:55:23 +0200
commit743f90514b0fbb97ae1861d42718e2e60dc3f068 (patch)
tree7c653309475952c30c366636f6a7a571478b3570 /.github/workflows/data-update.yml
parent48801dbc9a85f4ab32d1ae47b8113d6a9a5e6f72 (diff)
[fix] missing PR perm data-update.yml workflow (#4737)
We actually don't need to keep the token on checkout because `peter-evans/create-pull-request` will read from `github.token`. The obvious `pull-requests` write permission wasn't set in the last fix, so I added it now.
Diffstat (limited to '.github/workflows/data-update.yml')
-rw-r--r--.github/workflows/data-update.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/data-update.yml b/.github/workflows/data-update.yml
index d5810a967..1c7ff1c2d 100644
--- a/.github/workflows/data-update.yml
+++ b/.github/workflows/data-update.yml
@@ -36,6 +36,7 @@ jobs:
permissions:
contents: write
+ pull-requests: write
steps:
- name: Setup Python
@@ -45,6 +46,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
+ with:
+ persist-credentials: "false"
- name: Setup cache Python
uses: actions/cache@v4