forked from benchmark-action/github-action-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 912 Bytes
/
run.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: Run
on:
workflow_run:
workflows: ["CI"]
types:
- requested
jobs:
pytest-benchmark:
name: Test
runs-on: ubuntu-latest
steps:
- name: Install
run: sudo apt update && sudo apt install -y jq
- name: log
run: |
echo "${{ toJson(github) }}" | jq
- name: Hello
env:
DUMMY: ${{secrets.DUMMY}}
C_ID: ${{ github.event.workflow_run.head_commit.id }}
C_MESSAGE: ${{ github.event.workflow_run.head_commit.message }}
C_TIME: ${{ github.event.workflow_run.head_commit.timestamp }}
C_URL: ${{ github.event.workflow_run.repository.html_url }}
C_COMMITER: ${{ github.event.workflow_run.head_commit.author.name }}
run: |
echo $DUMMY | base64
echo $C_ID
echo $C_MESSAGE
echo $C_TIME
echo $C_COMMITER
echo $C_URL