Skip to content

Update dependency io.jenkins.plugins:theme-manager to v327 (#866) #110

Update dependency io.jenkins.plugins:theme-manager to v327 (#866)

Update dependency io.jenkins.plugins:theme-manager to v327 (#866) #110

Workflow file for this run

name: Update CLI
on:
# Allow to be run manually
workflow_dispatch:
schedule:
# Run once per week (to avoid alert fatigue)
- cron: '0 2 * * 1' # Every Monday at 2am UTC
push:
pull_request:
jobs:
updatecli:
runs-on: ubuntu-latest
if: github.repository_owner == 'jenkinsci'
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install Updatecli in the runner
uses: updatecli/[email protected]
- name: Run Updatecli in Dry Run mode
run: updatecli diff --config ./.github/updatecli/updatecli.d --values ./.github/updatecli/values.github-action.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run Updatecli in Apply mode
if: github.ref == 'refs/heads/master'
run: updatecli apply --config ./.github/updatecli/updatecli.d --values ./.github/updatecli/values.github-action.yaml
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}