Skip to content

Commit

Permalink
build API docs if metadata files change, remove graphs from filter
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Feb 22, 2024
1 parent ab9e33c commit b7c4727
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-APIdocs-layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
paths:
- .github/workflows/build-APIdocs-layer.yml
- Dockerfile-metadata
- api-*.json
- build-metadata.sh

push:
branches:
- main
paths:
- .github/workflows/build-APIdocs-layer.yml
- Dockerfile-metadata
- /api-*.json
- build-metadata.sh

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -41,6 +45,7 @@ jobs:
shell: bash

- name: Login to container registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
registry: "${{ vars.DOCKER_REGISTRY }}"
Expand Down
6 changes: 1 addition & 5 deletions api-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ apiRules:
- exclude:
uidRegex: ^$
type: Namespace
# Excluding types in Graphs namespace, originating from Management/.../DotNetHeapDump
- exclude:
uidRegex: ^Graphs
type: Namespace
- exclude:
uidRegex: ^OpenCensus\.*
type: Namespace
Expand All @@ -19,4 +15,4 @@ apiRules:
# Excluding Steeltoe.Messaging.RabbitMQ.Support.RabbitMessageBuilder class clears issue #147
- exclude:
uidRegex: ^Steeltoe\.Messaging\.RabbitMQ\.Support\.RabbitMessageBuilder
type: Class
type: Class

0 comments on commit b7c4727

Please sign in to comment.