You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# https://github.com/subsurface/subsurface/blob/master/.github/workflows/artifact-links.yml
|
|
|
|
|
|
|
|
name: Add artifact links to pull request
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_run:
|
|
|
|
workflows: ["Build"]
|
|
|
|
types: [completed]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
artifacts-url-comments:
|
|
|
|
name: Add artifact links to PR and issues
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Add artifact links to PR and issues
|
|
|
|
if: github.event.workflow_run.event == 'pull_request'
|
|
|
|
uses: tonyhallett/artifacts-url-comments@v1.1.0
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
with:
|
|
|
|
prefix: "Build for testing:"
|
|
|
|
suffix: "Use at your own risk."
|
|
|
|
format: name
|
|
|
|
addTo: pull
|
|
|
|
errorNoArtifacts: false
|