Translations update from Hosted Weblate #2596
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically approve certain Pu | |
# which will be auto-approved. | |
name: Autoapprove | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened] | |
jobs: | |
auto-approve: | |
if: | | |
github.event.pull_request.user.login == 'weblate' || | |
contains(github.event.pull_request.labels.*.name, 'translations') | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: hmarr/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" |