forked from smartcontractkit/chainlink
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 1.31 KB
/
operator-ui.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Operator UI
on:
push:
branches:
- develop
workflow_dispatch:
schedule:
- cron: '0 */1 * * *' # Run every hour
jobs:
update-version:
name: Update Version
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Update version
id: update
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./operator_ui/check.sh
- name: Open PR
uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
with:
title: Update Operator UI from ${{ steps.update.outputs.current_tag }} to ${{ steps.update.outputs.latest_tag }}
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@808c183d1f5c26a4f3fd50b75d3cf7b58d9aa293
with:
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }}
this-job-name: Update Version
continue-on-error: true