Retiring dev env #35
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: Mon Aug 8 03:03:25 UTC 2022 | |
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 |