add artifact links to pr #1
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
name: add artifact links to pr | |
on: | |
workflow_run: | |
workflows: ["Build LaTeX document", "Build LaTeX diff document"] | |
types: [completed] | |
jobs: | |
artifacts-url-comments: | |
name: add artifact links to pull request and related issues job | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: add artifact links to pull request and related issues step | |
if: needs.pr-check.outputs.number != null | |
uses: veitbjarsch/artifacts-url-comments@v1.1.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
prefix: "Status:" | |
format: "name" | |
addTo: "pull" |