Translations update from Hosted Weblate #1275
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: Check PR source branch | |
on: | |
pull_request_target: | |
types: [opened, synchronize] | |
jobs: | |
check-source-branch-is-not-main-or-master: | |
runs-on: ubuntu-latest | |
if: contains(fromJSON('["main", "master"]'), github.head_ref) | |
# or github.event.pull_request.head.ref | |
steps: | |
- run: | | |
echo "Error: Pull requests should not be from your 'main' or 'master' branch. :(" | |
exit 1 |