chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.7.4 #775
Workflow file for this run
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
# Copyright © Michal Čihař <michal@weblate.org> | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
# This file is maintained in https://github.com/WeblateOrg/meta/ | |
name: Pull request automation | |
on: | |
pull_request_target: | |
types: opened | |
permissions: | |
contents: read | |
jobs: | |
weblate_automerge: | |
permissions: | |
pull-requests: write | |
contents: write | |
runs-on: ubuntu-24.04 | |
name: Weblate automerge | |
if: github.actor == 'weblate' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable Pull Request Automerge | |
run: gh pr merge --rebase --auto "${{ github.event.pull_request.number }}" | |
env: | |
GH_TOKEN: ${{ secrets.WEBLATE_CI_TOKEN }} |