Skip to content

Commit

Permalink
Add $ to timestamp in ci.yml and improve diff (Significant-Gravitas#4266
Browse files Browse the repository at this point in the history
)
  • Loading branch information
waynehamadi authored and ppetermann committed May 22, 2023
1 parent 95eb795 commit 579ef1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 579ef1c

Please sign in to comment.