Fix Ruff CI errors #39
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: Protect master branch | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
merge_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if the pull request is mergeable to master | |
run: | | |
if [[ "$GITHUB_HEAD_REF" == 'development' && "$GITHUB_REPOSITORY" == 'aliparlakci/bulk-downloader-for-reddit' ]]; then exit 0; else exit 1; fi; |