From ae40ac01f91ecea89b042aa52d12c4a6daf70e1a Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Tue, 14 Nov 2023 05:08:56 -0500 Subject: [PATCH] fix automated dependency PRs (#180) * fix automated dependency PRs * allow dispatching this manually --- .github/workflows/dependencies.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml index 6fcf1d278..af7b20b06 100644 --- a/.github/workflows/dependencies.yaml +++ b/.github/workflows/dependencies.yaml @@ -1,8 +1,10 @@ -name: Custom Dependabot +name: Makefile Dependencies on: schedule: # everyday at midnight. - cron: '0 0 * * *' + workflow_dispatch: {} + jobs: update-dependencies: runs-on: ubuntu-latest @@ -39,3 +41,18 @@ jobs: sed -i "/^TROUBLESHOOT_VERSION/c\TROUBLESHOOT_VERSION = $VERSION" Makefile - name: Create Pull Request uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.AUTOMATED_PR_GH_PAT }} + commit-message: Update Makefile versions + title: 'Update Makefile versions' + branch: automation/update-makefile + delete-branch: true + labels: | + automated-pr + makefile + type::chore + draft: false + base: "main" + body: | + Automated changes by the [cron-makefile-dependencies](https://github.com/replicatedhq/embedded-cluster/blob/main/.github/workflows/dependencies.yaml) GitHub action +