Skip to content

Commit

Permalink
Create protect_master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Serene-Arc authored Jul 16, 2022
1 parent 36e32d4 commit 59e57ce
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/protect_master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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;

0 comments on commit 59e57ce

Please sign in to comment.