-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jhudsl/cansavvy/time
Add the time of the report
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
id: build-components | ||
run: | | ||
branch_name='preview-${{ github.event.pull_request.number }}' | ||
echo "time=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||
echo "time=$(date +'%Y-%m-%d-%T')" >> $GITHUB_OUTPUT | ||
echo "commit_id=$GITHUB_SHA" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
|
@@ -116,8 +116,8 @@ jobs: | |
id: file-path | ||
run: | | ||
branch_name='preview-${{ github.event.pull_request.number }}' | ||
echo "time=$(date +'%Y-%m-%d-%T')" >> $GITHUB_OUTPUT | ||
echo "link_to_ignore_file=https://github.com/${GITHUB_REPOSITORY}/edit/${{ inputs.branch_name }}/${{ steps.setup.outputs.ignore_file }}" >> $GITHUB_OUTPUT | ||
echo "time=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||
echo "error_url=https://github.com/${GITHUB_REPOSITORY}/blob/$branch_name/${{ steps.check_results.outputs.report_path }}" >> $GITHUB_OUTPUT | ||
shell: bash | ||
|
||
|
@@ -152,9 +152,9 @@ jobs: | |
run: | | ||
branch_name='preview-${{ github.event.pull_request.number }}' | ||
git config --system --add safe.directory "$GITHUB_WORKSPACE" | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "jhudsl-robot" | ||
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
git config --global user.name 'github-actions[bot]' | ||
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | ||
git add ${{ steps.check_results.outputs.report_path }} --force || echo "No changes to commit" | ||
git commit -m 'Add check file' || echo "No changes to commit" | ||
|