Bump actions/github-script from 373c709c69115d41ff229c7e5df9f8788daa9553 to 3a2844b7e9c422d3c10d287c895573f7108da1b3 #89
Workflow file for this run
This file contains hidden or 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
| name: pr-closed | |
| concurrency: ${{ github.event.number }} | |
| on: | |
| pull_request: | |
| types: [closed] | |
| permissions: | |
| id-token: write | |
| contents: read | |
| env: | |
| resourceGroupName: pr_${{ github.event.number }} | |
| jobs: | |
| remove: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: azure/login@v3 | |
| name: Sign in to Azure | |
| with: | |
| client-id: ${{ secrets.AZURE_CLIENT_ID }} | |
| tenant-id: ${{ secrets.AZURE_TENANT_ID }} | |
| subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | |
| - uses: Azure/cli@v3 | |
| name: Delete resource group | |
| with: | |
| inlineScript: | | |
| az group delete \ | |
| --name ${{ env.resourceGroupName }} \ | |
| --yes |