-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github): automate model generation (#238)
* chore(doc): remove generated apidocs from packaging * chore(models): update list of available models from jumpstart * feat(github): add workflow for model and DLC images gen * chore(models): remove neuron models because of runtime crash * chore(mutation): fix mutation * chore(action version): fix pr comment * chore(github): update workflow to add missing authentication * chore(github): update region to use an env variable * chore(gh_action): update github action versions --------- Co-authored-by: Heitor Vital <[email protected]>
- Loading branch information
Showing
10 changed files
with
463 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ import { | |
runSemGrepWorkflow, | ||
runBanditWorkflow, | ||
runCommitLintWorkflow, | ||
buildCodeGenerationWorkflow, | ||
} from './projenrc/github-workflows'; | ||
|
||
// Constants | ||
|
@@ -116,8 +117,9 @@ buildOrtToolkitWorkflow(project); | |
runSemGrepWorkflow(project); | ||
runBanditWorkflow(project); | ||
runCommitLintWorkflow(project); | ||
buildCodeGenerationWorkflow(project); | ||
|
||
// Add specific overrides https://projen.io/github.html#actions-versions | ||
// Add specific overrides https://projen.io/docs/integrations/github/#actions-versions | ||
project.github?.actions.set('actions/checkout@v3', 'actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744'); | ||
project.github?.actions.set('actions/download-artifact@v3', 'actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a'); | ||
project.github?.actions.set('actions/github-script@v6', 'actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410'); | ||
|
@@ -135,6 +137,7 @@ project.github?.actions.set('oss-review-toolkit/ort-ci-github-action@v1', 'oss-r | |
project.github?.actions.set('peter-evans/create-issue-from-file@v4', 'peter-evans/create-issue-from-file@433e51abf769039ee20ba1293a088ca19d573b7f'); | ||
project.github?.actions.set('peter-evans/create-pull-request@v4', 'peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54'); | ||
project.github?.actions.set('peter-evans/create-pull-request@v5', 'peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38'); | ||
project.github?.actions.set('aws-actions/[email protected]', 'aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502'); | ||
|
||
// We don't want to package certain things | ||
project.npmignore?.addPatterns( | ||
|
@@ -153,6 +156,7 @@ project.npmignore?.addPatterns( | |
'projenrc', | ||
'tsconfig.dev.json', | ||
'yarn.lock', | ||
'/apidocs/', | ||
); | ||
|
||
// Add License header automatically | ||
|
Oops, something went wrong.