Skip to content

Commit

Permalink
chore: update token used for pushing updated fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Dec 27, 2024
1 parent 00bc340 commit bd388db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "Ryan Gang"
git remote set-url origin https://ryan-gang:${{ secrets.GITHUB_TOKEN }}@github.com/codecrafters-io/shell-tester.git
git remote set-url origin https://ryan-gang:${{ secrets.RYAN_FIXTURE_GEN_PAT }}@github.com/codecrafters-io/shell-tester.git
git fetch origin ${{ github.head_ref }}
git checkout ${{ github.head_ref }}
git diff --quiet || (git add . && git commit -m "ci: add regenerated fixtures" && git push)
2 changes: 1 addition & 1 deletion internal/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/codecrafters-io/tester-utils/random"
)

var SMALL_WORDS = []string{"foo", "bar", "baz", "qux", "quz", "ipsum", "lorem", "dolor", "sit", "amet"}
var SMALL_WORDS = []string{"foo", "bar", "baz", "qux", "quz"}
var LARGE_WORDS = []string{"hello", "world", "test", "example", "shell", "script"}

// getRandomDirectory creates a random directory in /tmp, creates the directories and returns the full path
Expand Down

0 comments on commit bd388db

Please sign in to comment.