github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/.github/workflows/del-env.yml (about)

     1  # Generated by: tyk-ci/wf-gen
     2  # Generated on: Sun 25 Apr 10:01:42 UTC 2021
     3  
     4  # Generation commands:
     5  # ./pr.zsh -title updated release engineering -branch release-3-lts -base release-3-lts -repos tyk,tyk-analytics -p
     6  # m4 -E -DxREPO=tyk
     7  
     8  name: Retiring dev env
     9  
    10  on:
    11    delete:
    12      branches:
    13        - feature/*
    14        - integration/*
    15  
    16  jobs:
    17    retire:
    18      runs-on: ubuntu-latest
    19  
    20      steps:
    21        - name: Tell gromit about deleted branch
    22          run: |
    23              curl -fsSL -H "Authorization: ${{secrets.GROMIT_TOKEN}}" "https://domu-kun.cloud.tyk.io/gromit/env/${GITHUB_REF##*/}" \
    24                   -X DELETE