Skip to content

Commit

Permalink
feat: add tests result action
Browse files Browse the repository at this point in the history
  • Loading branch information
liestreadt committed Jul 15, 2023
1 parent 2734aff commit 58339c9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,26 @@ jobs:
writeToFile: false

- name: create or update issue
id: issue_step
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_VERSION: ${{ github.ref_name }}
RELEASE_AUTHOR: ${{ github.actor }}
RELEASE_DATE: ${{ github.event.head_commit.timestamp }}
RELEASE_CHANGELOG: ${{ steps.changelog_step.outputs.changes }}

with:
filename: .github/ISSUE_TEMPLATE.md
update_existing: true
search_existing: all

- name: add tests result to issue
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ steps.issue_step.outputs.number }}
body: |
## ${{ github.run_id }} tests result
Report files of tests can be loaded from this [link](${{github.server_url}}/${{ github.repository }}/actions/runs/${{github.run_id}}) (Artifacts section).
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 58339c9

Please sign in to comment.