Skip to content

Commit 549d589

Browse files
authored
Merge branch 'main' into release-1.0
2 parents b18e858 + a04a6f0 commit 549d589

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Generate Catalog Entry
2+
on: [push, workflow_dispatch]
3+
4+
jobs:
5+
generate_entry:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@main
10+
11+
- uses: actions/checkout@v2
12+
with:
13+
token: ${{ secrets.SDK_SYNC_PAT }}
14+
path: './catalog-temp/'
15+
repository: 'Keyfactor/integrations-catalog'
16+
17+
- uses: cuchi/[email protected]
18+
with:
19+
template: ./catalog-temp/_integration.md.tpl
20+
output_file: ${{ format('./catalog-temp/_integrations/{0}.md', github.event.repository.name) }}
21+
data_file: integration-manifest.json
22+
variables: |
23+
repository= ${{ format('https://github.com/{0}', github.repository) }}
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
26+
27+
- uses: EndBug/add-and-commit@v7
28+
with:
29+
author_name: 'Keyfactor'
30+
author_email: '[email protected]'
31+
branch: 'main'
32+
message: ${{ format('Added the manifest for {0}', github.event.repository.name) }}
33+
add: ${{ format('_integrations/{0}.md --force', github.event.repository.name) }}
34+
cwd: './catalog-temp/'

integration-manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,3 @@
7878
}
7979
}
8080
}
81-
}

0 commit comments

Comments
 (0)