Skip to content

Commit

Permalink
Artiweb comment workflow (#3047)
Browse files Browse the repository at this point in the history
As discussed, not sure how to test this.
  • Loading branch information
wadoon committed Mar 8, 2023
2 parents bcd1ae9 + 56483be commit 755a04a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/artiweb.yml
@@ -0,0 +1,18 @@
on:
pull_request:
types: [opened, reopened]

jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Test artifacts will be available on [Artiweb](https://keyproject.github.io/artiweb/${context.issue.number}/).`
})

0 comments on commit 755a04a

Please sign in to comment.