Fix merge reports after tests #692
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: 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: Inject slug/short variables | |
uses: rlespinasse/github-slug-action@102b1a064a9b145e56556e22b18b19c624538d94 | |
- name: Saleor login | |
uses: ./.github/actions/cli-login | |
with: | |
token: ${{ secrets.STAGING_TOKEN }} | |
- name: Remove instance | |
run: npx saleor env remove "pr-${GITHUB_HEAD_REF_SLUG_URL}" --force |