Skip to content

Commit

Permalink
update wf
Browse files Browse the repository at this point in the history
  • Loading branch information
Schefflera-Arboricola committed May 5, 2024
1 parent 5f65c25 commit 8813f64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update_get_info_on_approval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Check if __init__.py has been modified
id: check_changes
run: |
changes=$(git diff)
changes=$(git diff --color-words)
echo "$changes"
if [[ -n "$changes" ]]; then
echo "modified=true" >> $GITHUB_ENV
Expand All @@ -30,5 +30,7 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "Aditi Juneja"
git add .
pre-commit run --all-files
git add .
git commit -m "Update __init__.py"
git push origin ${{ github.head_ref }}

0 comments on commit 8813f64

Please sign in to comment.