Skip to content

Commit

Permalink
Remove old workflow runs on manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazeem authored Jan 27, 2025
1 parent d0c2c23 commit 81715d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4

- name: Delete previous scheduled runs except the last one from Linux runner
if: ${{ runner.os == 'Linux' && github.event_name == 'schedule' }}
- name: Delete previous runs except the last one from Linux runner
if: ${{ runner.os == 'Linux' && github.event_name == 'workflow_dispatch' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 81715d9

Please sign in to comment.