From a0b801af5de9a3ab4eaab1123914b35d1f9b961e Mon Sep 17 00:00:00 2001 From: Cycle Bai <168964798+CycleBai@users.noreply.github.com> Date: Mon, 29 Jul 2024 21:39:08 +1000 Subject: [PATCH] ci: FIx errors --- .github/workflows/auto_pr.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto_pr.yml b/.github/workflows/auto_pr.yml index d04815a..b43957a 100644 --- a/.github/workflows/auto_pr.yml +++ b/.github/workflows/auto_pr.yml @@ -56,9 +56,9 @@ jobs: git checkout dev git pull origin dev git checkout -b ${{ env.branch_name }} - echo "This commit ensures there is a difference." > .github/TIMESTAMP_$(date +%s).md - git add .github/TIMESTAMP_*.md - git commit -m "Add timestamp to ensure branch differences" + echo "$(date +%s%N)" > timestamp # Create a file with current timestamp in nanoseconds + git add timestamp.txt + git commit -m "Add timestamp file to ensure branch differences" git push origin ${{ env.branch_name }} - name: Fetch, rebase and push to existing branch