Skip to content

Check lens

Check lens #46

Workflow file for this run

name: Check lens
on:
schedule:
- cron: '0 0 * * 6'
workflow_dispatch:
jobs:
version_check:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PTOKEN }}
- name: Get the latest lens version
run: |
curl -s https://api.github.com/repos/lensapp/lens/releases | jq -r '[.[] | select(.prerelease == false)][0] | .tag_name[1:]' > version
echo "LENS_VERSION=$(cat version)" >> $GITHUB_ENV
- name: Add & Commit
uses: EndBug/[email protected]
with:
message: 'Open Lens version : ${{ env.LENS_VERSION }}'