File: zizmor-issue-650.yml

package info (click to toggle)
rust-github-actions-models 0.45.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 782 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# See https://github.com/woodruffw/zizmor/issues/650

# 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
      - name: Enable Pull Request Automerge
        run: gh pr merge --rebase --auto "${{ github.event.pull_request.number }}"
        env:
          GH_TOKEN: ${{ secrets.WEBLATE_CI_TOKEN }}