Skip to content

Commit

Permalink
fix: simplify word generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Sep 17, 2024
1 parent 9e0e76f commit 43c078b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/translations-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Generate random word
id: random-word
run: |
random_word=$(cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 8 | head -n 1)
random_word=$(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c 8)
echo "RANDOM_WORD=$random_word" >> $GITHUB_ENV
echo "::set-output name=random_word::$random_word"
Expand Down

0 comments on commit 43c078b

Please sign in to comment.