AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Add $ to timestamp in ci.yml and improve diff (#4266)
merwanehamadi1c399e67f4ff
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex cb20cfe629..492336dfa5 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -97,12 +97,12 @@ jobs:id: stage_filesrun: |git add tests- git diff --cached --quiet && echo "No changes to commit" && exit 0+ git diff --cached --quiet tests && echo "No changes to commit" && exit 0git config user.email "[email protected]"git config user.name "GitHub Actions"git commit -m "Add new cassettes"TIMESTAMP_COMMIT=$(date +%Y%m%d%H%M%S) # generate a timestamp- echo "TIMESTAMP_COMMIT=TIMESTAMP_COMMIT" >> $GITHUB_ENV+ echo "TIMESTAMP_COMMIT=$TIMESTAMP_COMMIT" >> $GITHUB_ENV- name: Create PR