Retiring dev env #359
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
# Generated by: gromit policy | |
# Generated on: Wed May 10 06:24:08 UTC 2023 | |
name: Retiring dev env | |
on: | |
delete: | |
branches: | |
- feature/* | |
- integration/* | |
jobs: | |
retire: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Tell gromit about deleted branch | |
run: | | |
curl -fsSL -H "Authorization: ${{secrets.GROMIT_TOKEN}}" "https://domu-kun.cloud.tyk.io/gromit/env/${GITHUB_REF##*/}" \ | |
-X DELETE |