Skip to content

Commit

Permalink
fix: commit step
Browse files Browse the repository at this point in the history
  • Loading branch information
makafsal committed Sep 24, 2024
1 parent 893a4c8 commit 33b5ad8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/update-example-gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ jobs:
exit 0
fi
# - name: Commit the changes
# if: failure() && steps.up_to_date.outcome == 'failure'
# id: commit
# working-directory: ./
# run: |
# git config --global user.email ${{ secrets.CARBON_BOT_EMAIL }}
# git config --global user.name ${{ secrets.CARBON_BOT_NAME }}
# git add .
# git commit -m "chore: update example gallery"
# git push origin
- name: Commit the changes
if: failure() && steps.up_to_date.outcome == 'failure'
id: commit
working-directory: ./
run: |
git config --global user.email ${{ secrets.CARBON_BOT_EMAIL }}
git config --global user.name ${{ secrets.CARBON_BOT_NAME }}
git add .
git commit -m "chore: update example gallery"
git push origin
- name: Create pull request
Expand Down

0 comments on commit 33b5ad8

Please sign in to comment.