Skip to content

Commit

Permalink
Update pr-on-branch-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ines-gimeno-molina authored May 1, 2024
1 parent d9f0a76 commit 0c9318b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pr-on-branch-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
contents: read
pull-requests: write
steps:
- name: Check out repository code
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: dev

- name: Check for branch changes
id: check_branch_changes
run: |
Expand All @@ -21,12 +27,6 @@ jobs:
exit 0
fi
if: github.event_name == 'push' && github.ref_type == 'branch'

- name: Check out repository code
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: dev

- name: Create PR
run: |
Expand Down

0 comments on commit 0c9318b

Please sign in to comment.