Skip to content

Commit

Permalink
ci: update check for changes step in bot_update_exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago committed Jan 2, 2025
1 parent 7c9292c commit 3653879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bot_update_exclusions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
- name: 📦 Install Dependencies
run: dart pub get

- name: 🔍 Check for changes
- name: 🔍 Check for exclusions changes
id: make
run: if dart lib/exclusion_reason_table.dart --set-exit-if-changed; then echo "did_change=false"; else echo "did_change=true"; fi >> $GITHUB_ENV
run: (dart lib/exclusion_reason_table.dart --set-exit-if-changed && echo "did_change=false" >> $GITHUB_ENV) || echo "did_change=true" >> $GITHUB_ENV

- name: 🔑 Config Git User
if: ${{ env.did_change == 'true' }}
Expand Down

0 comments on commit 3653879

Please sign in to comment.