View | Details | Raw Unified | Return to bug 40027
Collapse All | Expand All

(-)a/.github/workflows/close-pr.yml (-1 / +20 lines)
Line 0 Link Here
0
- 
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, this repo is merely a clone of https://git.koha-community.org/Koha-community/Koha and we use Bugzilla at https://bugs.koha-community.org to submit patches to its codebase.\n\nSee https://wiki.koha-community.org/wiki/Submitting_A_Patch for more information. Note that you can use [`koha-testing-docker`](https://gitlab.com/koha-community/koha-testing-docker) to easily set-up a full development environment, which includes the `git bz` command to easily push your patches with a single command, instead of manually fiddling with patch files!\n\nIf you have any more questions or need help, do not hesitate to ask in our Mattermost chat: https://chat.koha-community.org. Thank you."
20
          gh pr lock ${{ env.PR }}

Return to bug 40027