Skip to content

Prevent empty subscription query for new webhooks #21

Prevent empty subscription query for new webhooks

Prevent empty subscription query for new webhooks #21

Workflow file for this run

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
env:
SALEOR_CLI_ENV: staging
run: npx saleor env remove "pr-${GITHUB_HEAD_REF_SLUG_URL}" --force