Update prettier.yml

This commit is contained in:
William Harrison
2024-11-10 20:45:29 +08:00
committed by GitHub
parent 040cd6f5bc
commit cef7f280bf
+2 -5
View File
@@ -25,11 +25,8 @@ jobs:
- name: Create branch
run: |
BRANCH_NAME="prettier-$(date +%s)"
echo "Generated branch name: $BRANCH_NAME"
if [ -z "$BRANCH_NAME" ]; then
echo "Error: Branch name is empty."
exit 1
fi
echo "Generated branch: $BRANCH_NAME"
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
git checkout -b "$BRANCH_NAME"
- name: Commit