Skip to content

Commit

Permalink
fix automated dependency PRs (#180)
Browse files Browse the repository at this point in the history
* fix automated dependency PRs

* allow dispatching this manually
  • Loading branch information
laverya authored Nov 14, 2023
1 parent 0731893 commit ae40ac0
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit ae40ac0

Please sign in to comment.