Skip to content

Update via Updatecli #74

Update via Updatecli

Update via Updatecli #74

Workflow file for this run

name: Update via Updatecli
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight
jobs:
update:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Install and run updatecli
- name: Setup updatecli
uses: updatecli/updatecli-action@v2
- name: Run updatecli
run: make updatecli/all
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run helm-docs
uses: losisin/helm-docs-github-action@v1
with:
git-push: false
# Use Peter Evans Pull Request Action to create a pull request
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "fix(deps): Update dependencies"
title: 'fix(deps): Update dependencies'
body: |
Updates dependencies using `updatecli`.
To force github actions to run add an empty commit to this branch
```
git fetch
git checkout branch_name
git commit --allow-empty -m "Trigger GitHub Actions"
git push origin branch_name
```
labels: automated-pr, update
draft: false