Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
5937ed1
Init workflows SDK
Nov 14, 2023
8454280
Fix build script for workflows-sdk
Nov 14, 2023
d88ddd9
fix: use node 18
alexforsyth Nov 14, 2023
4a46840
Add publishing workflow
Nov 14, 2023
2becbcf
Merge branch 'workflows-sdk' of https://github.com/aws/actions-dev-ki…
alexforsyth Nov 14, 2023
399f0df
Fix publish commands and project name
Nov 14, 2023
6c346ac
fix: hoist
alexforsyth Nov 14, 2023
4c6b9f0
Merge branch 'workflows-sdk' of https://github.com/aws/actions-dev-ki…
alexforsyth Nov 14, 2023
46c9beb
feat: publish preview.1
Nov 14, 2023
4eedb78
Add required fields for schedule workflow
nickschn211 Nov 14, 2023
0136fba
Add required fields for the push trigger
nickschn211 Nov 14, 2023
a0c4502
[chore] reorganize the triggers sample workflows into their own folder
nickschn211 Nov 14, 2023
5060542
Add required fields for the pull request trigger
nickschn211 Nov 14, 2023
fbad22c
Add schema version field
nickschn211 Nov 14, 2023
65b20ef
fixes
alexforsyth Nov 15, 2023
ad56fe1
Merge branch 'workflows-sdk' of https://github.com/aws/actions-dev-ki…
alexforsyth Nov 15, 2023
95cf8be
fix: pathing for modelentry
alexforsyth Nov 15, 2023
f63cdb1
Fix the naming of the interfaces and some internal definitions to pre…
nickschn211 Nov 15, 2023
d3f1eeb
Fix typo and export WorkflowDefinition from index
Nov 15, 2023
54e3a69
Remove unnecessary readme info
Nov 15, 2023
dbb3d28
Add descriptions to the actions, interfaces, triggers, and workflow s…
nickschn211 Nov 15, 2023
7c67ae6
Allow environment connections to also accept a number
nickschn211 Nov 15, 2023
e759ea2
Publish 0.1.5-preview.3
Nov 16, 2023
c903698
Publish 0.1.5-preview.4
Nov 16, 2023
2b8b69b
Add updated README.md and fixed name of the workflow in the pull requ…
nickschn211 Nov 17, 2023
41154c8
Move complex fields in workflows, and the actions to their own defini…
nickschn211 Nov 17, 2023
8c020ab
Move build to use an optional environment connection and force GitHub…
nickschn211 Nov 17, 2023
34aa143
Fix a readme line
Nov 17, 2023
3d9a261
Publish 0.1.5-preview.5
Nov 17, 2023
7b49121
Removing additional properties, adding generic action, and add workfl…
nickschn211 Nov 17, 2023
d3720dc
Publish 0.1.5-preview.6
Nov 17, 2023
fc82e9f
upgrade to standard node tooling
alexforsyth Jan 16, 2024
b80290b
fix: projenify
alexforsyth Jan 16, 2024
1a06647
ignore template files from clean upo
alexforsyth Jan 16, 2024
46f2a43
feat: modernize codebase
alexforsyth Jan 17, 2024
7e7869f
cleanups
alexforsyth Jan 17, 2024
3e1d4fb
structure docs
alexforsyth Jan 17, 2024
d270a3c
feat: move packages into nice places
alexforsyth Jan 17, 2024
a0e2970
fix: build
alexforsyth Jan 17, 2024
6e198e2
fix: workflows
alexforsyth Jan 17, 2024
5ff34cb
update readme
alexforsyth Jan 17, 2024
ef842a7
workflows sdk
alexforsyth Jan 17, 2024
5137e31
fix: workflows sdk
alexforsyth Jan 17, 2024
34cd7be
fix: immutable cache
alexforsyth Jan 17, 2024
a248f8c
workflows added
alexforsyth Jan 17, 2024
0c18f42
fix: semgrep
alexforsyth Jan 17, 2024
f141510
fix linter errors
alexforsyth Jan 17, 2024
e198ef4
clean up
alexforsyth Jan 17, 2024
ab0eb45
fix: semgrep
alexforsyth Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,ts,json}]
indent_size = 2
indent_style = space
29 changes: 29 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
// "airbnb",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"project": "./tsconfig.json"
},
"ignorePatterns": [
"dist"
],
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"quotes": ["warn", "single"],
"@typescript-eslint/no-floating-promises": ["error"]
}
}
50 changes: 22 additions & 28 deletions .github/workflows/actions-dev-kit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,41 @@
# - performs vulnerabilities scan using returntocorp/semgrep GHA

name: adk-ci

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches: [main, gamma]
types: [assigned, opened, synchronize, reopened]

env:
PROJEN_DISABLE_POST: '1'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Target branch of the pull request
# Source https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
ref: ${{ github.base_ref }}
- uses: actions/setup-node@v4
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install --global lerna yarn #install global dependencies
- run: yarn install #install and link depdendencies
- run: ./build.sh #build
- run: yarn run api-ref #test generate /docs
- run: yarn run api-ref-pre-release #test generate /pre-release-docs
- run: yarn run generate-attributions #test generate ./<package>/THIRD_PARTY_LICENSES

node-version: '18'
cache: 'yarn'
# We are seeing a very large slow down in startup execution in with npx (npm v9.7.2).
# Setting to older version of npm to speed up execution.
- run: npm install -g npm@6.14.13
- run: yarn --immutable-cache
- run: yarn build
secret-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@v3.63.1
fetch-depth: 1
- uses: trufflesecurity/trufflehog@main
with:
path: ./
# Target branch of the pull request
# Source https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
base: ${{ github.base_ref }}
head: HEAD
extra_args: --debug

extra_args: --only-verified --debug

semgrep:
runs-on: ubuntu-latest

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.16.1
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.js
*.json
*.yaml
*.yml
.eslintrc
**/templates/**
coverage
dist
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "http://json.schemastore.org/prettierrc",
"arrowParens": "avoid",
"bracketSpacing": true,
"printWidth": 150,
"proseWrap": "always",
"quoteProps": "consistent",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
}
5 changes: 3 additions & 2 deletions .semgrepignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# To ignore a file with a literal ':' character, escape it with
# a backslash, e.g. "\:foo".

/packages/adk/lib/util/template.ts
/packages/adk/adk/src/util/template.ts
/docs/index.html
/scripts/generate-attributions.ts
/scripts/generate-attributions.ts
/packages/workflows/workflows-sdk/**.ts
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading