Skip to content

Commit 8a3587a

Browse files
authored
Merge pull request #1781 from vprashar2929/chore-acpi-wk
fix(ci): run cleanup only on pull requests
2 parents ea93777 + d13d50b commit 8a3587a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/mock_acpi.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
if: github.event.issue.pull_request && github.event.comment.body == '/test-acpi'
5151
name: Test Mock ACPI
5252
needs: [initalize-workflow, create-runner]
53+
continue-on-error: true
5354
runs-on: self-hosted
5455
outputs:
5556
runner-name: ${{ runner.name }}
@@ -87,7 +88,7 @@ jobs:
8788
ansible-playbook -vv -i inventory.yaml mock_acpi_playbook.yaml -e "pr_number=${{ github.event.issue.number }}"
8889
8990
cleanup:
90-
if: ${{ always() }}
91+
if: github.event.issue.pull_request && github.event.comment.body == '/test-acpi'
9192
name: Cleanup
9293
needs: [initalize-workflow, test-mock-acpi]
9394
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)