Browse Source

[fix] missing perm data-update.yml workflow (#4736)

We need to keep the token on checkout and allow writing into the repository to create the branch
Ivan Gabaldon 4 days ago
parent
commit
7ca24eee45
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/data-update.yml

+ 3 - 2
.github/workflows/data-update.yml

@@ -34,6 +34,9 @@ jobs:
           - update_wikidata_units.py
           - update_engine_descriptions.py
 
+    permissions:
+      contents: write
+
     steps:
       - name: Setup Python
         uses: actions/setup-python@v5
@@ -42,8 +45,6 @@ jobs:
 
       - name: Checkout
         uses: actions/checkout@v4
-        with:
-          persist-credentials: "false"
 
       - name: Setup cache Python
         uses: actions/cache@v4