Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions admin/framework/.github/workflows/close-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@ name: Close Pull Request

on:
pull_request_target:
types: [opened]
types: [opened, reopened]

permissions:
pull-requests: write

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Close PR with nice message
uses: superbrothers/close-pull-request@v3
with:
comment: >
run: gh pr close ${{ env.ISSUE }} -c "${{ env.COMMENT }}"
working-directory: ${{ github.workspace }}
env:
COMMENT: >
Thank you for your pull request. However, you have submitted your PR on a read-only
split of `codeigniter4/CodeIgniter4`. This repository, unfortunately, does
not accept PRs. Please submit your PR at https://github.com/codeigniter4/CodeIgniter4
repository.<br/><br/>Thank you.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.pull_request.html_url }}
14 changes: 10 additions & 4 deletions admin/starter/.github/workflows/close-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@ name: Close Pull Request

on:
pull_request_target:
types: [opened]
types: [opened, reopened]

permissions:
pull-requests: write

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Close PR with nice message
uses: superbrothers/close-pull-request@v3
with:
comment: >
run: gh pr close ${{ env.ISSUE }} -c "${{ env.COMMENT }}"
Comment thread
kenjis marked this conversation as resolved.
working-directory: ${{ github.workspace }}
env:
COMMENT: >
Thank you for your pull request. However, you have submitted your PR on a read-only
split of `codeigniter4/CodeIgniter4`. This repository, unfortunately, does
not accept PRs. Please submit your PR at https://github.com/codeigniter4/CodeIgniter4
repository.<br/><br/>Thank you.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.pull_request.html_url }}
14 changes: 10 additions & 4 deletions admin/userguide/.github/workflows/close-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@ name: Close Pull Request

on:
pull_request_target:
types: [opened]
types: [opened, reopened]

permissions:
pull-requests: write

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Close PR with nice message
uses: superbrothers/close-pull-request@v3
with:
comment: >
run: gh pr close ${{ env.ISSUE }} -c "${{ env.COMMENT }}"
working-directory: ${{ github.workspace }}
env:
COMMENT: >
Thank you for your pull request. However, you have submitted your PR on a read-only
split of `codeigniter4/CodeIgniter4`. This repository, unfortunately, does
not accept PRs. Please submit your PR at https://github.com/codeigniter4/CodeIgniter4
repository.<br/><br/>Thank you.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.pull_request.html_url }}