From 04cc85a23c4f95feb3756c4ffb22321aa1f2ead1 Mon Sep 17 00:00:00 2001 From: andry81 Date: Thu, 8 Sep 2022 03:58:55 +0300 Subject: [PATCH] 2022.09.08: * new: action.yml: print changelog file path into pipeline log * new: action.yml: print topic query URL into pipeline log --- action.yml | 5 ++++- changelog.txt | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index cca7cb4..9215eb8 100644 --- a/action.yml +++ b/action.yml @@ -119,6 +119,7 @@ runs: shell: bash run: | $GH_WORKFLOW_ROOT/bash/github/set-env-from-args.sh \ + "changelog_file=$CHANGELOG_FILE" \ "CHANGELOG_FILE=$GITHUB_WORKSPACE/inpage-downloads/${{ inputs.output_repo_dir }}/$CHANGELOG_FILE" \ "commit_msg_entity=${{ inputs.commit_msg_entity }}" \ "stats_dir=$GITHUB_WORKSPACE/inpage-downloads/${{ inputs.output_repo_dir }}" \ @@ -136,7 +137,9 @@ runs: shell: bash run: | $GH_WORKFLOW_ROOT/bash/github/print-notice.sh \ - "output repo dir: https://github.com/${{ inputs.output_repo_owner }}/${{ inputs.output_repo }}/tree/${{ inputs.output_repo_branch }}/${{ inputs.output_repo_dir }}" + "query url: ${{ inputs.query_url }}" \ + "output repo dir: https://github.com/${{ inputs.output_repo_owner }}/${{ inputs.output_repo }}/tree/${{ inputs.output_repo_branch }}/${{ inputs.output_repo_dir }}" \ + "changelog file: https://github.com/${{ inputs.output_repo_owner }}/${{ inputs.output_repo }}/tree/${{ inputs.output_repo_branch }}/${{ inputs.output_repo_dir }}/$changelog_file" - name: checkout inpage-downloads@${{ inputs.output_repo_branch }} uses: andry81-devops/gh-action--git-checkout@master diff --git a/changelog.txt b/changelog.txt index 337367d..d5c522b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +2022.09.08: +* new: action.yml: print changelog file path into pipeline log +* new: action.yml: print topic query URL into pipeline log + 2022.08.26: * new: action.yml: added `ENABLE_GITHUB_ACTIONS_RUN_URL_PRINT_TO_CHANGELOG` and `GHWF_GITHUB_ACTIONS_RUN_URL` variables to be able to print GitHub Actions run URL into the changelog file