Download .github/workflows/warns_merge_master.yml from Unstoppable0/modexla: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/Unstoppable0/modexla/resolve/main/.github/workflows/warns_merge_master.yml
- Command line
-
hf download hf://Unstoppable0/modexla/.github/workflows/warns_merge_master.yml
-
curl -L -o warns_merge_master.yml https://huggingface.co/Unstoppable0/modexla/resolve/main/.github/workflows/warns_merge_master.yml
424 Bytes
| name: Pull requests can't target master branch | |
| "on": | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| branches: | |
| - master | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Warning marge into master | |
| run: | | |
| echo -e "::warning::This pull request directly merge into \"master\" branch, normally development happens on \"dev\" branch." | |
| exit 1 | |