Bump github.com/digitalocean/godo from 1.120.0 to 1.126.0 #192
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: cleanup-clusters | |
env: | |
DOCKER_ORG: digitalocean | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
cleanup-clusters: | |
name: Clean up clusters from the PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: cleanup | |
env: | |
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.CSIDigitalOceanAccessToken }} | |
BRANCH: ${{ github.head_ref }} | |
run: | | |
set -eu | |
# Variable definitions and runner image must match things in test.yaml. | |
BRANCH="$(echo -n ${BRANCH} | tr -c '[:alnum:]._-' '-')" | |
TAG_IDENTIFIER="$(echo -n ${BRANCH} | sha256sum | cut -c1-7)" | |
docker run --rm -e DIGITALOCEAN_ACCESS_TOKEN --entrypoint /cleanup-clusters.sh ${DOCKER_ORG}/k8s-e2e-test-runner:${BRANCH}-latest "branch-identifier:${TAG_IDENTIFIER}" |