From 6bc86cd13ed32f595e006f5d9ebf4ba4e84d9f1f Mon Sep 17 00:00:00 2001 From: Stephane Rigaud Date: Fri, 20 Sep 2024 14:36:43 +0300 Subject: [PATCH] add CI for auto update tier code --- .github/workflows/auto_update_tier.yaml | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/auto_update_tier.yaml diff --git a/.github/workflows/auto_update_tier.yaml b/.github/workflows/auto_update_tier.yaml new file mode 100644 index 0000000..09e510c --- /dev/null +++ b/.github/workflows/auto_update_tier.yaml @@ -0,0 +1,31 @@ +name: Auto Update Tiers + +on: + repository_dispatch: + types: [clic_update] + workflow_dispatch: + inputs: + release_tag: + description: 'CLIc tag' + required: true + default: 'master' + +jobs: + run-cle-roboto: + runs-on: ubuntu-latest + steps: + - name: Print release tag + env: + RELEASE_TAG: ${{ github.event.client_payload.release_tag || github.event.inputs.release_tag }} + run: | + echo "Received release tag: $RELEASE_TAG from CLIc" + + - name: Get python + uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Use cle-roboto to update tiers + uses: clEsperanto/cle-roboto-repo@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file