We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e7464d commit 0c259f4Copy full SHA for 0c259f4
.github/workflows/code_quality.yml
@@ -26,12 +26,7 @@ jobs:
26
- name: Security Check with Bandit
27
run: bandit -r .
28
# Commit and push changes made by Black and Ruff
29
- - name: Commit and push if changed
30
- env:
31
- MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
32
- run: |
33
- git config --global user.name 'github-actions'
34
- git config --global user.email '[email protected]'
35
- git add -A
36
- git commit -m "Automated code quality fixes" -a || echo "No changes to commit"
37
- git push https://x-access-token:${MY_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:${GITHUB_REF_NAME}
+ - name: Commit & Push changes
+ uses: actions-js/push@master
+ with:
+ github_token: ${{ secrets.MY_GITHUB_TOKEN }}
0 commit comments