Feat/curobo improved #2387
Workflow file for this run
This file contains 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
name: Disallow PRs to main branch | |
on: [pull_request] | |
jobs: | |
protect-main: | |
name: Disallow PRs to main branch | |
runs-on: ubuntu-latest | |
if: ${{ github.base_ref == 'main' }} | |
steps: | |
- name: Comment on PR | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
Hi, research friend! :wave: | |
It looks like you are trying to merge a PR to the `main` branch. | |
This branch is for released code only. **Please PR your code onto `og-develop` instead.** | |
Thank you! | |
- name: Fail | |
run: exit 1 |