Rename app service plan variable for consistency in naming convention #42
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@v2 | |
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@v2 | |
name: Delete resource group | |
with: | |
inlineScript: | | |
az group delete \ | |
--name ${{ env.resourceGroupName }} \ | |
--yes |