Retiring dev env #162
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: Fri Apr 28 10:48:32 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 |