Skip to content

Commit a90c97d

Browse files
add new workflow to add status (#805)
* add new workflow to add status * set as target * temp * debug # ci skip * typo # ci skip * repo full_name * only on new PRs Former-commit-id: 57041f2
1 parent 6ef577a commit a90c97d

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Comment on Pull Request Status
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
comment_pr:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: thollander/actions-comment-pull-request@v2
14+
with:
15+
message: |
16+
[![Current build status](https://img.shields.io/github/actions/workflow/status/${{ github.event.pull_request.head.repo.full_name }}/run_tests.yml?branch=${{ github.event.pull_request.head.ref }})](https://github.com/${{ github.event.pull_request.head.repo.full_name }}/actions/workflows/run_tests.yml?query=branch%3A${{ github.event.pull_request.head.ref }})

0 commit comments

Comments
 (0)