build(deps): bump the npm_and_yarn group across 1 directory with 3 updates #249
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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)' }} |