name: "time-to-k8s benchmark" on: workflow_dispatch: release: types: [released] env: GOPROXY: https://proxy.golang.org GO_VERSION: '1.22.1' permissions: contents: read jobs: benchmark: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: Checkout submodules run: git submodule update --init - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: go-version: ${{env.GO_VERSION}} - name: time-to-k8s Benchmark id: timeToK8sBenchmark run: | ./hack/benchmark/time-to-k8s/time-to-k8s.sh echo "version=$(minikube version --short)" >> "$GITHUB_OUTPUT" - name: Create PR uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e with: token: ${{ secrets.MINIKUBE_BOT_PAT }} commit-message: add time-to-k8s benchmark for ${{ steps.timeToK8sBenchmark.outputs.version }} committer: minikube-bot author: minikube-bot branch: addTimeToK8s${{ steps.timeToK8sBenchmark.outputs.version }} branch-suffix: short-commit-hash push-to-fork: minikube-bot/minikube base: master delete-branch: true title: "Post-release: Add time-to-k8s benchmark for ${{ steps.timeToK8sBenchmark.outputs.version }}" body: Updating time-to-k8s benchmark as part of the release process