Bump artifacts versions #202
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: "Bump artifacts versions" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 6 * * MON' | |
pull_request: | |
paths: | |
- '.github/workflows/updatecli.yml' | |
- 'scripts/updatecli/**' | |
env: | |
DEFAULT_BRANCH_NAME: master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name || github.run_id }} | |
cancel-in-progress: false | |
jobs: | |
updatecli: | |
runs-on: "ubuntu-latest" | |
name: "${{ matrix.values-file }}" | |
if: github.actor != 'dependabot[bot]' | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
values-file: | |
- updatecli_acs23.yml | |
- updatecli_community.yml | |
- updatecli_acs74.yml | |
- updatecli_acs73.yml | |
- updatecli_acs72.yml | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ github.head_ref || github.ref_name }} | |
token: ${{ secrets.BOT_GITHUB_TOKEN }} | |
- name: Install Updatecli | |
uses: updatecli/updatecli-action@704a64517239e0993c5e3bf6749a063b8f950d9f # v2.70.0 | |
- name: Run Updatecli in ${{ env.UPDATECLI_MODE }} mode | |
run: >- | |
updatecli ${{ env.UPDATECLI_MODE }} | |
--config scripts/updatecli/updatecli_config.tpl | |
--values scripts/updatecli/updatecli_base.yml | |
--values scripts/updatecli/${{ matrix.values-file}} | |
env: | |
UPDATECLI_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} | |
UPDATECLI_GITHUB_USERNAME: ${{ vars.BOT_GITHUB_USERNAME}} | |
UPDATECLI_MODE: apply | |
- name: Git Auto Commit | |
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | |
with: | |
commit_message: | | |
🛠 Updatecli pipeline bump for ${{ matrix.values-file }} | |
commit_user_name: ${{ vars.BOT_GITHUB_USERNAME }} | |
commit_user_email: ${{ vars.BOT_GITHUB_EMAIL }} | |
branch: ${{ github.ref_name == env.DEFAULT_BRANCH_NAME && 'updatecli-bump-acs' || '' }} | |
create_branch: ${{ github.ref_name == env.DEFAULT_BRANCH_NAME }} | |
push_options: ${{ github.ref_name == env.DEFAULT_BRANCH_NAME && '--force' || '' }} |