File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,18 +115,18 @@ jobs:
115115 Write-Output ('{0}={1}' -f 'changes', $diff) >> $env:GITHUB_OUTPUT
116116 }
117117 - name : Add files, commit and push
118- if : steps.git_status.outputs.changes > 0
118+ if : steps.git_status.outputs.changes != ''
119119 run : |
120120 echo "Pushing changes to origin..."
121121 git add (Join-Path $env:GITHUB_WORKSPACE 'docs' 'static' 'includes' 'module-features' 'bicepBadges.md')
122122 git add (Join-Path $env:GITHUB_WORKSPACE 'docs' 'static' 'includes' 'module-features' 'bicepFeatures.csv')
123123 git commit -m '${{ env.pr_title }}'
124- git push origin ${{ env.branch_name }}
124+ # git push origin ${{ env.branch_name }}
125125 env :
126126 GITHUB_TOKEN : ${{ steps.generate-token.outputs.token }}
127127
128128 # - name: Create pull request
129- # if: steps.git_status.outputs.changes > 0
129+ # if: steps.git_status.outputs.changes != ''
130130 # run: |
131131 # HEAD_LABEL="${{ github.repository_owner }}:${{ env.branch_name }}"
132132 # BASE_LABEL="${{ github.repository_owner }}:$(echo '${{ github.ref }}' | sed 's:refs/heads/::')"
You can’t perform that action at this time.
0 commit comments