Skip to content

Commit f1ac8bd

Browse files
authored
Merge pull request #322 from afragen/update-POT-workflow
update POT workflow
2 parents 0972180 + 91069f0 commit f1ac8bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate-pot-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
git push origin generate-pot
6262
6363
- name: Create pull request
64-
if: env.CHANGES_DETECTED == 1
64+
if: env.CHANGES_DETECTED == 1 && env.REMOTE_BRANCH_EXISTS == 0
6565
run: gh pr create --base ${BRANCH_NAME} --head generate-pot --title "Generate POT - $(date +'%Y-%m-%d')" --body "Automated PR"
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)