Skip to content

Commit

Permalink
chore(ci): use ci token in licenses update
Browse files Browse the repository at this point in the history
This allows automerge.
  • Loading branch information
nijel committed Dec 2, 2024
1 parent 167e4aa commit 62779b6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/licenses-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 62779b6

Please sign in to comment.