Updatecli: Dependency Management #7421
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Updatecli: Dependency Management" | |
on: | |
workflow_dispatch: | |
release: | |
push: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
# Run every hour | |
- cron: '0 * * * *' | |
repository_dispatch: | |
types: [epinio-release] | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
updatecli: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Updatecli in the runner | |
uses: updatecli/updatecli-action@v2 | |
- name: Apply | |
run: "updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.yaml" | |
env: | |
UPDATECLI_GITHUB_ACTOR: ${{ github.actor }} | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |