Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Commit 04e330d

Browse files
authored
There is no need to check the catalog anymore. The catalog page redirects to ai namespace so the content will be always the same. (#128)
1 parent 3f098b3 commit 04e330d

2 files changed

Lines changed: 5 additions & 242 deletions

File tree

.github/workflows/check-ai-namespace.yml

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Check AI Namespace Repository Descriptions and Catalog Inclusion
1+
name: Check AI Namespace Repository Descriptions
22

33
on:
44
schedule:
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
check-descriptions:
13-
name: Check Repository Descriptions and Catalog Inclusion
13+
name: Check Repository Descriptions
1414
runs-on: ubuntu-latest
1515
outputs:
1616
script_output: ${{ steps.check-script.outputs.script_output }}
@@ -31,46 +31,20 @@ jobs:
3131
} >> "$GITHUB_OUTPUT"
3232
exit $exit_code
3333
34-
check-catalog:
35-
name: Check Catalog Inclusion
36-
runs-on: ubuntu-latest
37-
outputs:
38-
catalog_script_output: ${{ steps.catalog-check-script.outputs.catalog_script_output }}
39-
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v4
42-
43-
- name: Run catalog inclusion check script
44-
id: catalog-check-script
45-
run: |
46-
./scripts/check-ai-catalog-inclusion.sh --namespace ai 2>&1 | tee catalog-script.log
47-
exit_code=${PIPESTATUS[0]}
48-
output=$(cat catalog-script.log)
49-
{
50-
echo 'catalog_script_output<<EOF'
51-
echo "$output"
52-
echo 'EOF'
53-
} >> "$GITHUB_OUTPUT"
54-
exit $exit_code
55-
5634
report-status:
5735
name: Report and Notify
5836
runs-on: ubuntu-latest
59-
needs: [check-descriptions, check-catalog]
37+
needs: [check-descriptions]
6038
if: always() # <-- Ensures the job runs regardless of prior failures
6139

6240
steps:
6341
- name: Show script output
6442
run: |
6543
echo "${{ needs.check-descriptions.outputs.script_output }}"
6644
67-
- name: Show catalog script output
68-
run: |
69-
echo "${{ needs.check-catalog.outputs.catalog_script_output }}"
70-
7145
- name: Notify Slack on failure
7246
if: |
73-
needs.check-descriptions.result == 'failure' || needs.check-catalog.result == 'failure'
47+
needs.check-descriptions.result == 'failure'
7448
uses: slackapi/slack-github-action@v2.1.0
7549
with:
7650
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -85,11 +59,7 @@ jobs:
8559
- type: "section"
8660
text:
8761
type: "mrkdwn"
88-
text: ${{ toJson(format('```{0}```', needs.check-descriptions.outputs.script_output)) }}
89-
- type: "section"
90-
text:
91-
type: "mrkdwn"
92-
text: ${{ toJson(format('```{0}```', needs.check-catalog.outputs.catalog_script_output)) }}
62+
text: ${{ toJson(format('```{0}```', needs.check-descriptions.outputs.script_output)) }}
9363
- type: "section"
9464
text:
9565
type: "mrkdwn"

scripts/check-ai-catalog-inclusion.sh

Lines changed: 0 additions & 207 deletions
This file was deleted.

0 commit comments

Comments
 (0)