Skip to content

Commit ae40ac0

Browse files
authored
fix automated dependency PRs (#180)
* fix automated dependency PRs * allow dispatching this manually
1 parent 0731893 commit ae40ac0

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/dependencies.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: Custom Dependabot
1+
name: Makefile Dependencies
22
on:
33
schedule:
44
# everyday at midnight.
55
- cron: '0 0 * * *'
6+
workflow_dispatch: {}
7+
68
jobs:
79
update-dependencies:
810
runs-on: ubuntu-latest
@@ -39,3 +41,18 @@ jobs:
3941
sed -i "/^TROUBLESHOOT_VERSION/c\TROUBLESHOOT_VERSION = $VERSION" Makefile
4042
- name: Create Pull Request
4143
uses: peter-evans/create-pull-request@v5
44+
with:
45+
token: ${{ secrets.AUTOMATED_PR_GH_PAT }}
46+
commit-message: Update Makefile versions
47+
title: 'Update Makefile versions'
48+
branch: automation/update-makefile
49+
delete-branch: true
50+
labels: |
51+
automated-pr
52+
makefile
53+
type::chore
54+
draft: false
55+
base: "main"
56+
body: |
57+
Automated changes by the [cron-makefile-dependencies](https://github.com/replicatedhq/embedded-cluster/blob/main/.github/workflows/dependencies.yaml) GitHub action
58+

0 commit comments

Comments
 (0)