Update dependency commons-codec:commons-codec to v1.21.0 #3935
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: updatecli | |
| 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 == 'jenkins-infra' | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| with: | |
| submodules: false | |
| - name: Install Updatecli in the runner | |
| uses: updatecli/[email protected] | |
| - name: Install SDKMAN in the runner | |
| run: ./updatecli/scripts/install-sdk.sh | |
| - name: Install needed JDKs in the runner | |
| run: ./updatecli/scripts/install-jdk-versions.sh | |
| - 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 }} |