Skip to content

Commit

Permalink
cover staged change as well
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep committed Dec 8, 2023
1 parent a87e711 commit 15a4ea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
run: |
export GITHUB_API_KEY=${{ secrets.GH_API_TOKEN }}
bash ./bin/extract_all_tools_test.sh "${{ matrix.subset }}"
ls -la results
- name: Commit all tools
# add or commit any changes in results if there was a change, merge with main and push as bot
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add results
git status
git diff --quiet || (git commit -m "fetch all tools bot - step fetch")
git diff --quiet && git diff --staged --quiet || (git commit -m "fetch all tools bot - step fetch")
git pull -s recursive -X ours
git push
Expand Down

0 comments on commit 15a4ea6

Please sign in to comment.