From 62779b6c212d4471700b6c2651edff31b745f032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 2 Dec 2024 08:57:33 +0100 Subject: [PATCH] chore(ci): use ci token in licenses update This allows automerge. --- .github/workflows/licenses-update.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/licenses-update.yml b/.github/workflows/licenses-update.yml index 1a985382e169..cc47ec15f6da 100644 --- a/.github/workflows/licenses-update.yml +++ b/.github/workflows/licenses-update.yml @@ -15,17 +15,18 @@ on: - scripts/generate-license-data - scripts/spdx-license-list +permissions: + contents: read + jobs: licenses-update: runs-on: ubuntu-24.04 - permissions: - contents: write - pull-requests: write steps: - uses: actions/checkout@v4 with: submodules: true + token: ${{ secrets.WEBLATE_CI_TOKEN }} - uses: actions/cache@v4 with: path: ~/.cache/pre-commit @@ -48,6 +49,6 @@ jobs: branch: create-pull-request/licenses-update title: 'utils: Update SPDX license data' commit-message: 'utils: Update SPDX license data' + token: ${{ secrets.WEBLATE_CI_TOKEN }} labels: | dependencies - automerge