Automate updatecli workflow #1
Workflow file for this run
This file contains hidden or 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: 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 }} |