We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0972180 + 91069f0 commit f1ac8bdCopy full SHA for f1ac8bd
.github/workflows/generate-pot-pr.yml
@@ -61,7 +61,7 @@ jobs:
61
git push origin generate-pot
62
63
- name: Create pull request
64
- if: env.CHANGES_DETECTED == 1
+ if: env.CHANGES_DETECTED == 1 && env.REMOTE_BRANCH_EXISTS == 0
65
run: gh pr create --base ${BRANCH_NAME} --head generate-pot --title "Generate POT - $(date +'%Y-%m-%d')" --body "Automated PR"
66
env:
67
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments