Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan committed Oct 25, 2024
1 parent a492482 commit ca306e1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/unstable-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Close PRs to master

on:
pull_request_target:
types: [ opened, ready_for_review ]

jobs:
run:
runs-on: ubuntu-latest
if: ${{github.base_ref == 'master'}}

- uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: ${{ github.event.number }},
owner: context.repo.owner,
repo: context.repo.repo,
body: "Thank you for contributing to FloofStation repository. Unfortunately, it looks like you submitted your pull request to the master branch, Please move this PR to the Unstable Branch."
})

0 comments on commit ca306e1

Please sign in to comment.