Fix extensions page not loading when user doesn't have MANAGE_APPS permission #848
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 cleanup | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| remove_instance: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| sparse-checkout: ./.github/actions | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - name: Saleor login | |
| uses: ./.github/actions/cli-login | |
| with: | |
| token: ${{ secrets.STAGING_TOKEN }} | |
| - name: Remove instance | |
| env: | |
| PULL_REQUEST_NUMBER: ${{ github.event.number }} | |
| run: npx saleor env remove "pr-${PULL_REQUEST_NUMBER}" --force |