fix: Synchronize actions never create Pull requests
This commit is contained in:
parent
5e7cb152d2
commit
c3e11fccfa
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
has_changes=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
|
||||
echo "$has_changes"
|
||||
echo "{HAS_CHANGES}={$has_changes}" >> "$GITHUB_OUTPUT"
|
||||
echo "HAS_CHANGES=$has_changes" >> "$GITHUB_OUTPUT"
|
||||
- name: Commit and push changes
|
||||
uses: devops-infra/action-commit-push@v0.9.2
|
||||
if: ${{ startsWith(steps.check-changes.outputs.HAS_CHANGES, 'true') }}
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
has_changes=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
|
||||
echo "$has_changes"
|
||||
echo "{HAS_CHANGES}={$has_changes}" >> "$GITHUB_OUTPUT"
|
||||
echo "HAS_CHANGES=$has_changes" >> "$GITHUB_OUTPUT"
|
||||
- name: Commit and push changes
|
||||
uses: devops-infra/action-commit-push@v0.9.2
|
||||
if: ${{ startsWith(steps.check-changes.outputs.HAS_CHANGES, 'true') }}
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
has_changes=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
|
||||
echo "$has_changes"
|
||||
echo "{HAS_CHANGES}={$has_changes}" >> "$GITHUB_OUTPUT"
|
||||
echo "HAS_CHANGES=$has_changes" >> "$GITHUB_OUTPUT"
|
||||
- name: Commit and push changes
|
||||
uses: devops-infra/action-commit-push@v0.9.2
|
||||
if: ${{ startsWith(steps.check-changes.outputs.HAS_CHANGES, 'true') }}
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: |
|
||||
has_changes=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
|
||||
echo "$has_changes"
|
||||
echo "{HAS_CHANGES}={$has_changes}" >> "$GITHUB_OUTPUT"
|
||||
echo "HAS_CHANGES=$has_changes" >> "$GITHUB_OUTPUT"
|
||||
- name: Commit and push changes
|
||||
uses: devops-infra/action-commit-push@v0.9.2
|
||||
if: ${{ startsWith(steps.check-changes.outputs.HAS_CHANGES, 'true') }}
|
||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
run: |
|
||||
has_changes=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
|
||||
echo "$has_changes"
|
||||
echo "{HAS_CHANGES}={$has_changes}" >> "$GITHUB_OUTPUT"
|
||||
echo "HAS_CHANGES=$has_changes" >> "$GITHUB_OUTPUT"
|
||||
- name: Commit and push changes
|
||||
uses: devops-infra/action-commit-push@v0.9.2
|
||||
if: ${{ startsWith(steps.check-changes.outputs.HAS_CHANGES, 'true') }}
|
||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: |
|
||||
has_changes=$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
|
||||
echo "$has_changes"
|
||||
echo "{HAS_CHANGES}={$has_changes}" >> "$GITHUB_OUTPUT"
|
||||
echo "HAS_CHANGES=$has_changes" >> "$GITHUB_OUTPUT"
|
||||
- name: Commit and push changes
|
||||
uses: devops-infra/action-commit-push@v0.9.2
|
||||
if: ${{ startsWith(steps.check-changes.outputs.HAS_CHANGES, 'true') }}
|
||||
|
|
Loading…
Reference in New Issue