Skip to content

Commit 3d798d5

Browse files
committed
make sure we're on the latest
1 parent 9b08f35 commit 3d798d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/on-droneci-complete.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ jobs:
2222
steps:
2323
- run: |
2424
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"
2626
true
2727
2828
# Need to update commit status manually, or the result won't be visible within the PR:
2929
- uses: actions/github-script@v7
30+
if: always()
3031
with:
3132
script: |
3233
await github.rest.repos.createCommitStatus({
@@ -44,11 +45,12 @@ jobs:
4445
steps:
4546
- run: |
4647
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"
4849
false
4950
5051
# Need to update commit status manually, or the result won't be visible within the PR:
5152
- uses: actions/github-script@v7
53+
if: always()
5254
with:
5355
script: |
5456
await github.rest.repos.createCommitStatus({

0 commit comments

Comments
 (0)