Skip to content

ci: add missed taiga-family/ci/actions/setup/variables #544

ci: add missed taiga-family/ci/actions/setup/variables

ci: add missed taiga-family/ci/actions/setup/variables #544

name: 🤖 Auto cleanup caches
on:
push:
branches: [main]
pull_request:
types:
- closed
jobs:
cleanup:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'push'
with:
branch-name: ${{ github.head_ref || github.ref_name }}
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'pull_request'
with:
branch-name: refs/pull/${{ github.event.pull_request.number }}/merge