-
Notifications
You must be signed in to change notification settings - Fork 44.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add $ to timestamp in ci.yml and improve diff (#4266)
- Loading branch information
1 parent
7508e99
commit 1c399e6
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,12 +97,12 @@ jobs: | |
id: stage_files | ||
run: | | ||
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 0 | ||
git 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 | ||
|