Skip to content

Support multiple geth chain IDs for crib (#12520) #5876

Support multiple geth chain IDs for crib (#12520)

Support multiple geth chain IDs for crib (#12520) #5876

name: Operator UI CD
on:
push:
branches:
- develop
workflow_dispatch:
schedule:
- cron: "0 */1 * * *" # Run every hour
jobs:
update-version:
permissions:
id-token: write
name: Update Version
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Update version
id: update
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./operator_ui/check.sh
- name: Assume role capable of dispatching action
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ secrets.AWS_OIDC_CHAINLINK_CI_AUTO_PR_TOKEN_ISSUER_ROLE_ARN }}
role-duration-seconds: ${{ secrets.aws-role-duration-seconds }}
role-session-name: operator-ui-cd.update-version
aws-region: ${{ secrets.AWS_REGION }}
- name: Get Github Token
id: get-gh-token
uses: smartcontractkit/chainlink-github-actions/github-app-token-issuer@5bee84d30d90295010bda68b0cd46be3a1eea917 # v2.3.9
with:
url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}
- name: Open PR
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6.0.2
with:
title: Update Operator UI from ${{ steps.update.outputs.current_tag }} to ${{ steps.update.outputs.latest_tag }}
token: ${{ steps.get-gh-token.outputs.access-token }}
branch: chore/update-operator-ui
commit-message: Update Operator UI from ${{ steps.update.outputs.current_tag }} to ${{ steps.update.outputs.latest_tag }}
body: ${{ steps.update.outputs.body }}
- name: Collect Metrics
if: always()
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@0281b09807758be1dcc41651e44e62b353808c47 # v2.1.0
with:
org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }}
this-job-name: Update Version
continue-on-error: true