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 c5921b6 commit 9f4b48dCopy full SHA for 9f4b48d
.github/workflows/code_quality.yml
@@ -27,9 +27,11 @@ jobs:
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"
- git push
37
+ git push https://${MY_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:${GITHUB_REF_NAME}
0 commit comments