Handle route config changes in RSC Framework Mode #456
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Close a singular pull request that implements a feature that has not | |
# gone through the Proposal process | |
# Triggered by adding the `feature-request` label to an issue | |
name: 🚪 Check Feature PR | |
on: | |
pull_request_target: | |
types: [labeled] | |
jobs: | |
close-feature-pr: | |
name: 🚪 Check Feature PR | |
if: github.repository == 'remix-run/react-router' && github.event.label.name == 'feature-request' | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v5 | |
- name: 🚪 Close PR | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
gh pr comment ${{ github.event.pull_request.number }} -F ./scripts/close-feature-pr.md | |
gh pr edit ${{ github.event.pull_request.number }} --remove-label ${{ github.event.label.name }} | |
gh pr close ${{ github.event.pull_request.number }} |