Skip to content

Commit

Permalink
add artifact to PR
Browse files Browse the repository at this point in the history
  • Loading branch information
e-perl-NOAA committed May 2, 2024
1 parent 2205d85 commit cb738ff
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/add-artifact-to-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: add artifact links to pull request and related issues
on:
workflow_run:
workflows: [build html version of the ss3 user manual, Build SS3 user manual using texlive]
types: [completed]

jobs:
artifacts-url-comments:
name: add artifact links to pull request and related issues job
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: add artifact links to PR and issues
uses: tonyhallett/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
prefix: Here are the artifacts from your PR.
suffix: Have a nice day.
format: name
addTo: pullandissues

0 comments on commit cb738ff

Please sign in to comment.