-
Notifications
You must be signed in to change notification settings - Fork 21
44 lines (40 loc) · 1.61 KB
/
production-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Production test
on:
push:
branches:
- release
jobs:
comment-to-issue:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Create issue comment with user_name mention
uses: peter-evans/create-or-update-comment@v3
with:
repository: abeyuya/github-actions-test
token: ${{ secrets.MY_GITHUB_TOKEN }}
issue-number: 7
body: |
hey @abeyuya!
This is a test issue comment from [ci](https://github.com/abeyuya/actions-mention-to-slack/actions/runs/${{ github.run_id }}) to test abeyuya/actions-mention-to-slack.
[${{ github.event.head_commit.message }}](https://github.com/abeyuya/actions-mention-to-slack/commit/${{ github.sha }})
```
github.event_name: ${{ github.event_name }}
```
comment-to-pull-request:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Create pull request comment with user_name mention
uses: peter-evans/create-or-update-comment@v3
with:
repository: abeyuya/github-actions-test
token: ${{ secrets.MY_GITHUB_TOKEN }}
issue-number: 11
body: |
hey @abeyuya!
This is a test pull-request comment from [ci](https://github.com/abeyuya/actions-mention-to-slack/actions/runs/${{ github.run_id }}) to test abeyuya/actions-mention-to-slack.
[${{ github.event.head_commit.message }}](https://github.com/abeyuya/actions-mention-to-slack/commit/${{ github.sha }})
```
github.event_name: ${{ github.event_name }}
```