Skip to content

Commit

Permalink
2022.08.09:
Browse files Browse the repository at this point in the history
* new: action.yml: print commit reference url to the log
  • Loading branch information
andry81 committed Aug 10, 2022
1 parent 49644e8 commit 61bc00c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ runs:
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"
git commit -m "A/U: $COMMIT_MESSAGE_DATE_TIME_PREFIX: ${COMMIT_MESSAGE_PREFIX}${COMMIT_MESSAGE_SUFFIX:+" | "}$COMMIT_MESSAGE_SUFFIX"
$GH_WORKFLOW_ROOT/bash/github/set-env-from-args.sh \
"HEAD_COMMIT_HASH=$(git rev-parse HEAD)"
- name: push inpage-downloads
uses: ad-m/github-push-action@master
Expand All @@ -170,3 +172,9 @@ runs:
branch: ${{ inputs.output_repo_branch }}
directory: inpage-downloads
github_token: ${{ inputs.output_repo_write_token }}

- name: print commit parameters
shell: bash
run: |
$GH_WORKFLOW_ROOT/bash/github/print-notice.sh \
"commit reference url: https://github.com/${{ inputs.output_repo_owner }}/${{ inputs.output_repo }}/commit/$HEAD_COMMIT_HASH"
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2022.08.09:
* new: action.yml: print commit reference url to the log

2022.05.20:
* changed: README.md: readme update

Expand Down
3 changes: 3 additions & 0 deletions userlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
> :warning: to find all changes use [changelog.txt](https://github.com/andry81-devops/gh-action--accum-inpage-downloads/blob/master/changelog.txt) file in a directory
## 2022.08.09:
* new: action.yml: print commit reference url to the log

## 2022.05.11:
* new: action.yml: added `commit_msg_entity` optional input parameter as replacement of `stat_entity` in the commit message
* changed: action.yml: renamed `stat_entity_path` to `stat_entity` to select implementation
Expand Down

0 comments on commit 61bc00c

Please sign in to comment.