Skip to content

Commit

Permalink
Merge branch 'main' into release-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fiddlermikey authored May 30, 2024
2 parents b18e858 + a04a6f0 commit 549d589
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/keyfactor-extension-update-catalog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Generate Catalog Entry
on: [push, workflow_dispatch]

jobs:
generate_entry:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@main

- uses: actions/checkout@v2
with:
token: ${{ secrets.SDK_SYNC_PAT }}
path: './catalog-temp/'
repository: 'Keyfactor/integrations-catalog'

- uses: cuchi/jinja2-action@v1.2.0
with:
template: ./catalog-temp/_integration.md.tpl
output_file: ${{ format('./catalog-temp/_integrations/{0}.md', github.event.repository.name) }}
data_file: integration-manifest.json
variables: |
repository= ${{ format('https://github.com/{0}', github.repository) }}
env:
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}

- uses: EndBug/add-and-commit@v7
with:
author_name: 'Keyfactor'
author_email: 'keyfactor@keyfactor.github.io'
branch: 'main'
message: ${{ format('Added the manifest for {0}', github.event.repository.name) }}
add: ${{ format('_integrations/{0}.md --force', github.event.repository.name) }}
cwd: './catalog-temp/'
1 change: 0 additions & 1 deletion integration-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@
}
}
}
}

0 comments on commit 549d589

Please sign in to comment.