Skip to content

chore(deps): update dependency cypress to v13.8.0 #3528

chore(deps): update dependency cypress to v13.8.0

chore(deps): update dependency cypress to v13.8.0 #3528

---
name: remove-app-engine-versions
on:
pull_request:
types:
- closed
permissions:
id-token: write
contents: read
jobs:
remove-app-engine-versions:
runs-on: ubuntu-latest
if: github.repository == github.event.pull_request.head.repo.full_name && github.repository == 'dev-hato/hato-atama'
steps:
- uses: actions/[email protected]
- name: Get run numbers
uses: actions/[email protected]
id: get_run_numbers
env:
HEAD_REF: ${{github.event.pull_request.head.ref}}
with:
github-token: ${{secrets.GITHUB_TOKEN}}
result-encoding: string
script: |
const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/remove_app_engine_versions/remove_app_engine_versions/get_run_numbers.js`)
return await script({github, context, core})
- id: 'auth'
if: ${{ steps.get_run_numbers.outputs.result != '' }}
name: 'Authenticate to GCP'
uses: google-github-actions/[email protected]
with:
workload_identity_provider: 'projects/765091727073/locations/global/workloadIdentityPools/hato-atama-workload-identity/providers/github'
service_account: '[email protected]'
- uses: google-github-actions/[email protected]
if: ${{ steps.get_run_numbers.outputs.result != '' }}
- if: ${{ steps.get_run_numbers.outputs.result != '' }}
run: gcloud app versions delete --service=default ${{steps.get_run_numbers.outputs.result}}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true