Skip to content

build(deps-dev): bump prettier from 3.3.3 to 3.4.1 #245

build(deps-dev): bump prettier from 3.3.3 to 3.4.1

build(deps-dev): bump prettier from 3.3.3 to 3.4.1 #245

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: 'Delete redundant deployments'
on:
pull_request:
types:
- closed
jobs:
delete:
permissions:
contents: read
deployments: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: 'Delete Cloudflare Pages deployments'
uses: andykenward/github-actions-cloudflare-pages/[email protected]
with:
keep-latest: 5
cloudflare-api-token: ${{ secrets.CLOUDFLARE_API_TOKEN }}
cloudflare-account-id: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
cloudflare-project-name: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
github-token: ${{ secrets.GITHUB_TOKEN }}
github-environment: ${{ vars.CLOUDFLARE_PROJECT_NAME }} ${{ (github.event.pull_request.head.ref == 'refs/heads/main' && '(Production)') || '(Preview)' }}