generated from actions/hello-world-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1014 Bytes
/
development.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
name: "development"
on:
pull_request:
types: [ "opened", "synchronize", "ready_for_review" ]
branches: [ "main" ]
jobs:
message:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: "set current datetime"
env:
TZ: "Asia/Tokyo"
run: |
echo "CURRENT_DATETIME=$(date +"%Y-%m-%d %H:%M:%S")" >> $GITHUB_ENV
- name: set arguments
id: arguments
run: |
echo '::set-output name=message::"[info][title](beer)what time is it now?[/title]it is ${{ env.CURRENT_DATETIME }} now.[/info]"'
- uses: ./
with:
apiToken: ${{ secrets.API_KEY }}
roomId: ${{ secrets.ROOM_ID }}
message: ${{ steps.arguments.outputs.message }}
- uses: ./
with:
apiToken: ${{ secrets.API_KEY }}
roomId: ${{ secrets.ROOM_ID }}
message: "you have to do this task!"
messageType: "task"
userIdsToAssignTask: ${{ secrets.USER_ID_1 }}