Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/scheduled-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
if: github.repository == 'CustomResourceDefinition/catalog' || github.event_name == 'workflow_dispatch'
permissions:
contents: write
outputs:
updated: ${{ steps.committer.outputs.pushed }}
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -72,6 +74,7 @@ jobs:
- uses: EndBug/add-and-commit@v9
name: Publish changes
if: github.repository == 'CustomResourceDefinition/catalog' && github.ref == 'refs/heads/main'
id: committer
with:
add: |
- schema
Expand Down Expand Up @@ -105,7 +108,7 @@ jobs:
name: Synchronize tags with kubernetes
runs-on: ubuntu-latest
needs: update-schemas
if: github.repository == 'CustomResourceDefinition/catalog' && github.ref == 'refs/heads/main'
if: github.repository == 'CustomResourceDefinition/catalog' && github.ref == 'refs/heads/main' && needs.update-schemas.outputs.updated
permissions:
contents: write
steps:
Expand Down