Skip to content

Commit

Permalink
ci: add ability to comment on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Feb 20, 2024
1 parent 5296aaf commit fe1168a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build
on:
push:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, labeled, unlabeled]

jobs:
build:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/post-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Comment on Pull Requests

on:
workflow_run:
workflows: ["Build"]
types:
- completed

jobs:
upload:
permissions:
contents: read
pull-requests: write
uses: cordiverse/workflows/.github/workflows/post-comment.yml@main

0 comments on commit fe1168a

Please sign in to comment.