Skip to content

match whole package name, not substrings #258

match whole package name, not substrings

match whole package name, not substrings #258

Workflow file for this run

name: Cleanup Cancel Test
on:
pull_request:
jobs:
can_cancel_cleanup:
name: Can Cleanup and Cancel Cleanup
runs-on: ubuntu-latest
steps:
- name: Check out Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: cleanup with cancel
if: always()
id: did_skip
uses: ./chainlink-testing-framework/cleanup
with:
triggered_by: "blank"
should_cleanup: "false"
- name: Verify the cleanup did not run
run: |
if [ "${{ steps.did_skip.outputs.did_skip_clean }}" != "true" ]; then
echo "Failed to skip the cleanup"
exit 1
fi
- name: cleanup without cancel
if: always()
id: did_not_skip
uses: ./chainlink-testing-framework/cleanup
with:
triggered_by: "blank"
should_cleanup: "true"
- name: Verify the cleanup did run
run: |
if [ "${{ steps.did_not_skip.outputs.did_skip_clean }}" != "false" ]; then
echo "Failed to run the cleanup"
exit 1
fi