diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 829eb70..278deca 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -10,7 +10,7 @@ permissions: actions: write env: - BRANCH: ${{ github.event_type == 'pull_request' && 'refs/pull/${{ github.event.pull_request.number }}/merge' || github.event.ref }} + BRANCH: ${{ github.event_name == 'pull_request' && 'refs/pull/${{ github.event.pull_request.number }}/merge' || github.event.ref }} jobs: cleanup: