Skip to content
Merged
Changes from 2 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
8 changes: 8 additions & 0 deletions .github/workflows/conventions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,11 @@ jobs:
docs
chore
deps

- name: Detect if the Pull Request was sent from the main branch
if: "${{ github.head_ref == 'main' }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr close --comment "This Pull Request has been automatically closed because it was sent from the fork's main branch. Please use a different branch so that the maintainers can contribute tou your Pull Request."
exit 1
Loading