Updated new copy for 1AO6FFBlE4Y - The Hidden Costs of Poor Quality Code—and How to Turn It Into a Superpower #145 #79
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
name: Azure Static Web App PR Cleanup | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
pr_cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ secrets.NKDAGILITY_BOT_APP_ID }} | |
private-key: ${{ secrets.NKDAGILITY_BOT_CLIENTSECRET }} | |
- name: Clean up pull request environment | |
uses: Azure/static-web-apps-deploy@v1 | |
with: | |
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} | |
action: "close" | |
deployment_environment: canary-${{ github.event.pull_request.number }} | |
app_location: "" | |
skip_app_build: true | |
skip_api_build: true | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |