Skip to content

Updatecli

Updatecli #543

Workflow file for this run

name: Updatecli
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * *"
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
updatecli:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup updatecli
uses: updatecli/updatecli-action@v2
- name: Setup helm-docs
uses: action-stars/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: norwoodj
repository: helm-docs
os_linux: Linux
arch_amd64: x86_64
check_command: helm-docs --version
version: latest
- name: Generate GitHub app token
id: github-app-token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_UPDATECLI_APP_ID }}
private_key: ${{ secrets.GH_UPDATECLI_APP_PEM_FILE }}
- name: Run Updatecli
run: updatecli apply --experimental --config ./updatecli
env:
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
GITHUB_REPOSITORY_NAME: ${{ github.event.repository.name }}
GITHUB_USERNAME: mcwarman-updatecli[bot]
GITHUB_EMAIL: 141340520+mcwarman-updatecli[bot]@users.noreply.github.com
GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }}