Use ubuntu,only PR,some fixes
parent
2d22552c0f
commit
31cf18e9df
|
@ -1,20 +1,20 @@
|
|||
name: Artifact links comments creator
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["CI"]
|
||||
workflows: ["PR"]
|
||||
types: [completed]
|
||||
|
||||
jobs:
|
||||
artifacts-url-comments:
|
||||
name: Add artifact links to PR and issues
|
||||
runs-on: windows-2022
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Add artifact links to PR and issues
|
||||
uses: tonyhallett/artifacts-url-comments@v1.1.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
prefix: Do you want to test this code? Here you have an automated build:
|
||||
suffix: WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!
|
||||
format: name
|
||||
addTo: pullandissues
|
||||
prefix: "Do you want to test this code? Here you have an automated build:"
|
||||
suffix: "WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!"
|
||||
format: name
|
||||
addTo: pullandissues
|
||||
|
|
Loading…
Reference in New Issue