Skip to content

Commit

Permalink
Close instead
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxoTrystan committed Oct 25, 2024
1 parent ca306e1 commit f17649f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/unstable-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{github.base_ref == 'master'}}

- uses: actions/github-script@v7
steps:
- uses: superbrothers/close-pull-request@v3
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."
})
comment: "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 f17649f

Please sign in to comment.