Skip to content

Bump @types/draft-js from 0.11.9 to 0.11.18 #7201

Bump @types/draft-js from 0.11.9 to 0.11.18

Bump @types/draft-js from 0.11.9 to 0.11.18 #7201

# This workflow removes any assets created for manual QA testing
# from the GCP bucket once a pull request is closed.
name: Clean up PR assets
on:
pull_request:
types: [closed]
permissions:
contents: read
jobs:
remove-pr:
name: Cleanup storage
runs-on: ubuntu-latest
timeout-minutes: 5
if: >
github.event.pull_request.draft == false &&
github.event.pull_request.head.repo.fork == false &&
github.event.pull_request.user.login != 'dependabot[bot]'
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4
with:
disable-file-monitoring: true
disable-sudo: true
egress-policy: block
allowed-endpoints: >
cloudresourcemanager.googleapis.com:443
dl.google.com:443
oauth2.googleapis.com:443
storage.googleapis.com:443
raw.githubusercontent.com:443
- name: Authenticate
uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: Setup Cloud SDK
uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: Prune PR files
run: gsutil rm -rf gs://web-stories-wp-github-artifacts/refs/pull/${{ github.event.pull_request.number }}