Skip to content

Bump codecov/codecov-action from 5.5.2 to 5.5.3 (#657) #1033

Bump codecov/codecov-action from 5.5.2 to 5.5.3 (#657)

Bump codecov/codecov-action from 5.5.2 to 5.5.3 (#657) #1033

Workflow file for this run

name: updatecli
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * 1' # Every Monday at 2am UTC
push:
pull_request:
permissions:
contents: read
jobs:
updatecli:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: github.repository_owner == 'oras-project'
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install Updatecli in the runner
uses: updatecli/updatecli-action@4b17f4ea784de29f71f85f9bc4955402ba1ae53c # v2.100.0
- name: Run Updatecli in Dry Run mode
run: updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run Updatecli in Apply mode
if: github.ref == 'refs/heads/main'
run: updatecli apply --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}