Generate tray icons on a schedule

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-02-02 12:38:33 -05:00
1 parent 5002b450fd
commit 4ce2df86f5
26 files changed
+34 -4

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
name: Update Tray Icons
on:
schedule:
- cron: 0 1 * * 1-5 # 1 am every work day
workflow_dispatch:
jobs:
update:
name: Update icons
runs-on: ubuntu-latest
steps:
- name: Checkout Release from lens
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install deps
run: yarn install --frozen-lockfile
- name: Build new icons
run: yarn build:tray-icons
working-directory: packages/open-lens
- uses: peter-evans/create-pull-request@v4
if: ${{ steps.has.outputs.CHANGES == true }}
with:
add-paths: build/tray/*
commit-message: Update tray icons
signoff: true
delete-branch: true
branch: cron-update-tray-icons
title: Update tray icons
labels: chore