diff --git a/.github/workflows/prettifier.yml b/.github/workflows/prettier.yml similarity index 75% rename from .github/workflows/prettifier.yml rename to .github/workflows/prettier.yml index 170158c4ef..c832d12d69 100644 --- a/.github/workflows/prettifier.yml +++ b/.github/workflows/prettier.yml @@ -1,4 +1,4 @@ -name: Prettifier +name: Prettier on: schedule: @@ -26,10 +26,10 @@ jobs: run: | set -euo pipefail - git config --global user.email "actions@github.com" - git config --global user.name "GitHub Actions" + git config --global user.email "bot@is-a.dev" + git config --global user.name "is-a-dev-bot" - BRANCH="prettify-json-files" + BRANCH="prettier-$(date +%s%3N)" git push origin --delete "$BRANCH" 2>/dev/null || true @@ -43,9 +43,9 @@ jobs: git add . COUNT=$(git status -s -uno | wc -l) - git commit -m "chore(domains): prettify all json files" + git commit -m "chore(domains): prettier" git push --set-upstream origin "$BRANCH" - gh pr create -l maintainer -t "chore(domains): prettify all json files" -b "$COUNT file(s) have been modified." + gh pr create -l maintainer -t "chore(domains): prettier" -b "$COUNT file(s) have been prettified." env: - GH_TOKEN: ${{ github.token }} \ No newline at end of file + GH_TOKEN: ${{ secrets.BOT }}