Skip to content

Automate updatecli workflow #1

Automate updatecli workflow

Automate updatecli workflow #1

Workflow file for this run

---
name: Update Dependencies via Updatecli
on:
push:
branches:
- mg-updatecli
schedule:
- cron: '0 2 * * 2' # every Tuesday at 2:00 am
workflow_dispatch:
permissions:
# Required by Updatecli to create Git Commit(s)
contents: "write"
# Required by Updatecli to open GitHub pull request
pull-requests: "write"
# Required by Updatecli to update GitHub action workflows
actions: "write"
jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Updatecli
uses: updatecli/updatecli-action@v2
- name: Run Updatecli
run: |
updatecli pipeline apply --config .github/updatecli.yaml --values .github/updatecli-values-enable-github.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
UPDATECLI_GITHUB_ACTOR: ${{ github.actor }}