File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 16
16
- name : " Start a status 1"
17
17
uses : actions/github-script@v6
18
18
with :
19
+ debug : ${{ secrets.ACTIONS_STEP_DEBUG || false }}
19
20
script : |
20
- github.rest.repos.createCommitStatus({
21
+ await github.rest.repos.createCommitStatus({
21
22
owner: context.repo.owner,
22
23
repo: context.repo.repo,
23
24
sha: context.sha,
29
30
- name : " Start a status 2"
30
31
uses : actions/github-script@v6
31
32
with :
33
+ debug : ${{ secrets.ACTIONS_STEP_DEBUG || false }}
32
34
script : |
33
- github.rest.repos.createCommitStatus({
35
+ await github.rest.repos.createCommitStatus({
34
36
owner: context.repo.owner,
35
37
repo: context.repo.repo,
36
38
sha: context.sha,
45
47
- name : " Complete a status 2 - override description"
46
48
uses : actions/github-script@v6
47
49
with :
50
+ debug : ${{ secrets.ACTIONS_STEP_DEBUG || false }}
48
51
script : |
49
- github.rest.repos.createCommitStatus({
52
+ await github.rest.repos.createCommitStatus({
50
53
owner: context.repo.owner,
51
54
repo: context.repo.repo,
52
55
sha: context.sha,
62
65
- name : " Complete a status 1 - just finish"
63
66
uses : actions/github-script@v6
64
67
with :
68
+ debug : ${{ secrets.ACTIONS_STEP_DEBUG || false }}
65
69
script : |
66
- github.rest.repos.createCommitStatus({
70
+ await github.rest.repos.createCommitStatus({
67
71
owner: context.repo.owner,
68
72
repo: context.repo.repo,
69
73
sha: context.sha,
You can’t perform that action at this time.
0 commit comments