Skip to content

Commit 8b05d39

Browse files
committed
poc for same-repo commenting
1 parent 15477f3 commit 8b05d39

17 files changed

Lines changed: 24 additions & 1373 deletions

.github/workflows/backport.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/build-wheels.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/build_and_test.yml

Lines changed: 0 additions & 239 deletions
This file was deleted.

.github/workflows/codspeed.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/poc.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Comment on PR
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
issues: write
11+
12+
jobs:
13+
comment:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Add PR comment
17+
env:
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
PR_NUMBER: ${{ github.event.pull_request.number }}
20+
REPO: ${{ github.repository }}
21+
run: |
22+
gh api \
23+
"repos/$REPO/issues/$PR_NUMBER/comments" \
24+
-f body='Image diff workflow ran successfully.'

0 commit comments

Comments
 (0)