Skip to content

Commit

Permalink
Comment artifact?
Browse files Browse the repository at this point in the history
  • Loading branch information
frostedoyster committed Sep 20, 2024
1 parent 77217ba commit b4a0fd1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/comment-docs-download.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Comment on pull request

on:
pull_request:
types: [synchronize, opened] # Triggers on push to the PR or when a PR is opened
workflow_run:
workflows: ['Documentation']
types: [completed]

jobs:
pr_comment:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
if: github.event_name == 'pull_request' || (github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success')
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
Expand Down

0 comments on commit b4a0fd1

Please sign in to comment.