File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ jobs:
22
22
steps :
23
23
- run : |
24
24
echo "Triggered by Drone, on commit: ${{ inputs.github_sha }} on branch ${{ github.ref }}"
25
- echo "This step should succeed"
25
+ echo "This job should succeed"
26
26
true
27
27
28
28
# Need to update commit status manually, or the result won't be visible within the PR:
29
29
- uses : actions/github-script@v7
30
+ if : always()
30
31
with :
31
32
script : |
32
33
await github.rest.repos.createCommitStatus({
@@ -44,11 +45,12 @@ jobs:
44
45
steps :
45
46
- run : |
46
47
echo "Triggered by Drone, on commit: ${{ inputs.github_sha }} on branch ${{ github.ref }}"
47
- echo "This step should fail"
48
+ echo "This job should fail"
48
49
false
49
50
50
51
# Need to update commit status manually, or the result won't be visible within the PR:
51
52
- uses : actions/github-script@v7
53
+ if : always()
52
54
with :
53
55
script : |
54
56
await github.rest.repos.createCommitStatus({
You can’t perform that action at this time.
0 commit comments