Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create github-actions-usage lambda #810

Merged
merged 25 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5a87904
feat(github-actions-usage): Initial structure
akash1810 Feb 21, 2024
147a35f
feat(github-actions-usage): Add Prisma querying
akash1810 Feb 21, 2024
46c355e
feat(github-actions-usage): Validate GitHub Workflow content against …
akash1810 Feb 22, 2024
8998f2f
feat(github-actions-usage): Define types
akash1810 Feb 22, 2024
9be099c
refactor(github-actions-usage): Move queries to own file
akash1810 Feb 22, 2024
937e54a
feat(github-actions-usage): Get repository full name
akash1810 Feb 22, 2024
9b8ab53
feat(github-actions-usage): Save results to database table `guardian_…
akash1810 Feb 22, 2024
90a517d
refactor(github-actions-usage): Join tables to reduce checks
akash1810 Feb 24, 2024
9b6d7a9
fix(github-actions-usage): Handle YAML parse errors
akash1810 Feb 24, 2024
a678f49
refactor(github-actions-usage): Split data logic across files
akash1810 Feb 24, 2024
8c463bd
refactor(github-actions-usage): Interface renames for clarity
akash1810 Feb 24, 2024
3bec6e7
chore(github-actions-usage): Log validation error details
akash1810 Feb 24, 2024
9e1e3b5
test(github-actions-usage): Add tests for `validateRawWorkflow`
akash1810 Feb 24, 2024
5933ed2
refactor(github-actions-usage): Clear `github_actions_usage` table mo…
akash1810 Feb 24, 2024
b598cb3
refactor(github-actions-usage): Remove side-effect
akash1810 Feb 24, 2024
154cb19
fix(github-actions-usage): Delete and save results in a single transa…
akash1810 Feb 24, 2024
d3d2459
feat(github-actions-usage): Create database user `github_actions_usage`
akash1810 Feb 22, 2024
3c20a37
feat(github-actions-usage): Add `view_github_actions` SQL view
akash1810 Feb 23, 2024
061ab4b
ci: Compare GitHub Workflow schema with upstream
akash1810 Feb 24, 2024
e02d05d
feat(github-actions-usage): Add AWS Lambda
akash1810 Feb 22, 2024
c7d4fa2
docs(github-actions-usage): Add README
akash1810 Feb 22, 2024
c1c910b
refactor(github-actions-usage): Parse workflows using `@actions/workf…
akash1810 Feb 26, 2024
18e7c02
refactor(github-actions-usage): Rename for clarity
akash1810 Feb 27, 2024
fdc0c63
test: Add tests for `removeUndefined` function
akash1810 Feb 27, 2024
4a77c28
refactor(github-actions-usage): Simplify boolean logic
akash1810 Feb 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
- packages/data-audit/dist/data-audit.zip
snyk-integrator:
- packages/snyk-integrator/dist/snyk-integrator.zip
github-actions-usage:
- packages/github-actions-usage/dist/github-actions-usage.zip
env:
NODE_OPTIONS: '--max_old_space_size=4096'

Expand Down