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 @@ -54,19 +54,19 @@ jobs:
5454 run : echo "status='$(git status -s)'" >> $GITHUB_OUTPUT
5555
5656 - name : Add and commit files
57- if : ${{ steps.status.outputs.status }}
57+ if : ${{ steps.status.outputs.status != '' }}
5858 run : |
5959 git add .
6060 git config --global user.email "github-actions[bot]@users.noreply.github.com"
6161 git config --global user.name "github-actions[bot]"
6262 git commit -m "Update submodules at $(date "+DATE: %Y-%m-%d TIME: %H:%M:%S")"
6363
6464 - name : Push changes
65- if : ${{ steps.status.outputs.status && github.event_name == 'push' }}
65+ if : ${{ steps.status.outputs.status != '' && github.event_name == 'push' }}
6666 uses : ad-m/github-push-action@master
6767 with :
6868 github_token : ${{ github.token }}
69- branch : dev
69+ branch : ${{ github.ref_name }}
7070
7171 - name : Git Submodule Update
7272 run : |
You can’t perform that action at this time.
0 commit comments