Update third party directory #10
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: Update third party directory | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * MON" # Trigger this workflow every Monday at 00:00 | |
jobs: | |
third-party-update: | |
name: Update third party directory | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Install Updatecli in the runner | |
uses: updatecli/updatecli-action@92a13b95c2cd9f1c6742c965509203c6a5635ed7 # v2.68.0 | |
- name: Fetch latest Kubernetes released version | |
env: | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPDATECLI_GITHUB_OWNER: ${{ github.repository_owner }} | |
run: "updatecli apply --debug --config ./updatecli/update_api_server_files.yaml" | |
- name: Updates third party directory files | |
env: | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
UPDATECLI_GITHUB_OWNER: ${{ github.repository_owner }} | |
run: "updatecli apply --debug --config ./updatecli/update_third_party_files.yaml --values /tmp/updatecli/values.yaml --values ./updatecli/values.yaml" |