diff --git a/.github/workflows/validate.yml b/.github/workflows/asyncapi.yml similarity index 87% rename from .github/workflows/validate.yml rename to .github/workflows/asyncapi.yml index 7f7bec077d..8bfe55e38e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/asyncapi.yml @@ -1,6 +1,6 @@ # Validates the AsyncAPI definition -name: AsyncAPI Validate +name: AsyncAPI on: push: @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v3 - - name: asyncapi-validate + - name: check asyncapi.yaml file uses: WaleedAshraf/asyncapi-github-action@v0.0.10 with: filepath: "./docs/user/reference/asyncapi.yaml" diff --git a/.github/workflows/backstage.yml b/.github/workflows/backstage.yml new file mode 100644 index 0000000000..00a488241f --- /dev/null +++ b/.github/workflows/backstage.yml @@ -0,0 +1,17 @@ +name: Backstage + +on: + push: + pull_request: + +jobs: + validate: + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: check catalog-info.yaml file + uses: RoadieHQ/backstage-entity-validator@v0.3.11 + with: + path: "./catalog-info.yaml" diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index 20476441c4..65f4d02321 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -1,17 +1,15 @@ -name: Openapi +name: OpenAPI on: push: pull_request: - schedule: - # Run weekly to check latest versions of dependencies - - cron: "0 8 * * WED" + env: # The target python version, which must match the Dockerfile version CONTAINER_PYTHON: "3.11" jobs: - publish: + generate: # pull requests are a duplicate of a branch push if within the same repo. if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository runs-on: ubuntu-latest