mirror of https://github.com/rancher/turtles.git
28 lines
601 B
YAML
28 lines
601 B
YAML
---
|
|
name: "Updatecli: CAPI provider version management"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
|
|
permissions:
|
|
contents: "write"
|
|
pull-requests: "write"
|
|
|
|
jobs:
|
|
updatecli:
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Install Updatecli in the runner
|
|
uses: updatecli/updatecli-action@v2
|
|
|
|
- name: Apply
|
|
run: "updatecli apply --config ./updatecli/updatecli.d"
|
|
env:
|
|
UPDATECLI_GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
UPDATECLI_GITHUB_ACTOR: ${{ github.actor }}
|