Skip to content

Commit

Permalink
Merge pull request #320 from Fansana/stable
Browse files Browse the repository at this point in the history
disallow PRs on stable
  • Loading branch information
Fansana authored Nov 3, 2024
2 parents 0737ee0 + 3e197e2 commit 7b5f1b2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/stable-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Close PRs to stable

on:
pull_request_target:
types: [ opened, ready_for_review ]

jobs:
run:
runs-on: ubuntu-latest
if: ${{github.base_ref == 'stable' && github.actor != 'Fansana'}}

steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: "Thank you for contributing to Floof Station repository. Unfortunately, it looks like you submitted your pull request to the stable branch, Please move this PR to the master Branch."

0 comments on commit 7b5f1b2

Please sign in to comment.