Skip to content

Commit ef51d28

Browse files
chore: GitHub Actions bot comment on PR to find artifacts faster (#707)
Signed-off-by: Paulchen-Panther <Paulchen-Panter@protonmail.com>
1 parent 737b629 commit ef51d28

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@ on:
66

77
jobs:
88

9+
###########################################
10+
###### GitHub Actions bot comment #########
11+
###########################################
12+
13+
comment_pr:
14+
runs-on: ubuntu-latest
15+
name: GitHub Actions bot comment
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v1
19+
20+
- name: Comment on PR
21+
uses: thollander/actions-comment-pull-request@master
22+
with:
23+
message: "PR Artifacts on: [GitHub Actions](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
926
######################
1027
###### Linux #########
1128
######################
@@ -34,7 +51,8 @@ jobs:
3451
platform: amlogic
3552

3653
steps:
37-
- uses: actions/checkout@v1
54+
- name: Checkout
55+
uses: actions/checkout@v1
3856
with:
3957
submodules: true
4058

@@ -74,7 +92,8 @@ jobs:
7492
name: macOS
7593
runs-on: macos-latest
7694
steps:
77-
- uses: actions/checkout@v1
95+
- name: Checkout
96+
uses: actions/checkout@v1
7897
with:
7998
submodules: true
8099

0 commit comments

Comments
 (0)