no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / .github / workflows / close-pr.yml
bloba881cde247f6cbc06a20799279a597d1c21bc15b
1 name: close pull request
2 on:
3   pull_request_target:
4     types: [opened, reopened]
5 jobs:
6   run:
7     runs-on: ubuntu-latest
8     steps:
9       - name: checkout
10         uses: actions/checkout@v4
11         with:
12           sparse-checkout: "README.txt"
13           sparse-checkout-cone-mode: false
14       - name: close
15         env:
16           GH_TOKEN: ${{ github.token }}
17           PR: ${{ github.event.number }}
18         run: |
19           gh pr close ${{ env.PR }} --comment "(Automated Close) Please do not file pull requests here, see https://firefox-source-docs.mozilla.org/contributing/how_to_submit_a_patch.html"
20           gh pr lock ${{ env.PR }}