Skip to content

Commit

Permalink
chore: updating pipeline again
Browse files Browse the repository at this point in the history
  • Loading branch information
tlebon committed Nov 19, 2024
1 parent 5f74925 commit f058461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check total additions
- name: Check total PR additions
id: check_additions
run: |
echo "${{ steps.pr_details.outputs.data }}" | jq '.additions' > total_additions.txt
total_additions=$(cat total_additions.txt)
echo "Total additions: $total_additions"
echo "::set-output name=total_additions::$total_additions"
echo "total_additions=$total_additions" >> $GITHUB_ENV
- name: Deploy to precommit environment
if: ${{ steps.check_additions.outputs.total_additions > 100 && github.actor != 'dependabot[bot]' }}
Expand Down

0 comments on commit f058461

Please sign in to comment.