Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: emdneto <[email protected]>
  • Loading branch information
emdneto authored and chalin committed Feb 27, 2025
1 parent 35039e8 commit 3ad404a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/check-i18n-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ jobs:
- name: Run check-i18n
id: getdrifted
run: |
OUTPUT=$(scripts/check-i18n.sh -- content/${{ matrix.localization }})
echo $OUTPUT
DRIFTED_COUNT=$(echo "$OUTPUT" | grep "DRIFTED files:" | sed -E 's/.*DRIFTED files: ([0-9]+) out.*/\1/')
echo "drifted_count=$DRIFTED_COUNT" >> $GITHUB_OUTPUT
OUTPUT=$(scripts/check-i18n.sh -- content/${{ matrix.localization }})
echo $OUTPUT
DRIFTED_COUNT=$(echo "$OUTPUT" | grep "DRIFTED files:" | sed -E 's/.*DRIFTED files: ([0-9]+) out.*/\1/')
echo "drifted_count=$DRIFTED_COUNT" >> $GITHUB_OUTPUT
- name: Open Issue if drift detected
if: ${{ fromJson(steps.getdrifted.outputs.drifted_count) >= inputs.drift_threshold }}
if:
${{ fromJson(steps.getdrifted.outputs.drifted_count) >=
inputs.drift_threshold }}
env:
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 3ad404a

Please sign in to comment.