Skip to content

Update score.yaml

Update score.yaml #11

Workflow file for this run

name: Pull Request
on:
pull_request:
types:
- closed
env:
HUMCTL_VERSION: 0.30.3
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Install humctl
run: |
wget https://github.com/humanitec/cli/releases/download/v${{ env.HUMCTL_VERSION }}/cli_${{ env.HUMCTL_VERSION }}_linux_amd64.tar.gz
tar -xvf cli_${{ env.HUMCTL_VERSION }}_linux_amd64.tar.gz
chmod +x humctl
mv humctl /usr/local/bin
- name: Delete Humanitec Env
run: |
humctl delete env "pr-${{ github.event.number }}" \
--token ${{ secrets.HUMANITEC_TOKEN }} \
--org ${{ vars.HUMANITEC_ORG }} \
--app ${{ vars.HUMANITEC_APP }}