Skip to content

Commit from GitHub Actions (Scheduled Jobs) #1455

Commit from GitHub Actions (Scheduled Jobs)

Commit from GitHub Actions (Scheduled Jobs) #1455

name: Scheduled Jobs
on:
schedule:
- cron: '0 */8 * * *'
push:
branches:
- main
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update-schemas:
name: Update schemas
runs-on: ubuntu-latest
if: github.repository == 'CustomResourceDefinition/catalog' || github.event_name == 'workflow_dispatch'
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY_SCHEDULED_JOBS }}
- run: make update
- uses: EndBug/add-and-commit@v9
name: Publish changes
if: github.repository == 'CustomResourceDefinition/catalog' && github.ref == 'refs/heads/main'
with:
add: schema
default_author: github_actions