mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'MDL-77166' of https://github.com/stronk7/moodle
This commit is contained in:
commit
72bb1899e0
1 changed files with 30 additions and 0 deletions
30
.github/workflows/close-pull-requests.yml
vendored
Normal file
30
.github/workflows/close-pull-requests.yml
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
name: 'Close Pull Requests'
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: opened
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
close:
|
||||||
|
# Avoid forks to run this job
|
||||||
|
if: github.repository_owner == 'moodlehq'
|
||||||
|
name: Close Pull Requests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: dessant/repo-lockdown@v4
|
||||||
|
with:
|
||||||
|
process-only: prs
|
||||||
|
close-pr: true
|
||||||
|
pr-comment: >
|
||||||
|
**Please, don't open pull requests via GitHub.**
|
||||||
|
|
||||||
|
|
||||||
|
This repository (moodle.git) at GitHub is just a mirror of the official Moodle repository.
|
||||||
|
|
||||||
|
|
||||||
|
For how to contribute patches for Moodle see
|
||||||
|
[CONTRIBUTING.txt](https://github.com/moodle/moodle/blob/main/CONTRIBUTING.txt).
|
||||||
|
|
||||||
|
|
||||||
|
Closing this pull request.
|
Loading…
Add table
Add a link
Reference in a new issue