Skip to content

Commit

Permalink
ci: cleanup only on merge
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Apr 24, 2024
1 parent ffcc2b8 commit 6fcf964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
cleanup-mock:
runs-on: ubuntu-20.04
if: github.event.pull_request.merged == true
steps:
- name: Extract Branch Name
id: extract-branch
Expand All @@ -28,6 +29,7 @@ jobs:
customHeaders: '{"Authorization": "Bearer ${{ secrets.CF_AUTH_TOKEN }}"}'

cleanup:
if: github.event.pull_request.merged == true
runs-on: ubuntu-20.04
steps:
- name: Extract Branch Name
Expand Down

0 comments on commit 6fcf964

Please sign in to comment.