feat: add PostHog tool guide #125
Workflow file for this run
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
name: Prune closed PR deployment environments | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
prune: | |
name: Prune deployments for closed PRs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rlespinasse/[email protected] | |
name: Inject slug/short variables | |
- name: Remove deployment & environment | |
uses: strumwolf/delete-deployment-environment@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
environment: ${{ env.GITHUB_HEAD_REF_SLUG_URL }} | |
onlyRemoveDeployments: true |