Skip to content

Commit daa7609

Browse files
authored
Merge branch 'master' into fix-appsync-readme
2 parents c2e5b5e + 1da564e commit daa7609

File tree

707 files changed

+21111
-6134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

707 files changed

+21111
-6134
lines changed

.github/workflows/auto-approve-v2-merge-forward.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/issue-label-assign.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: Naturalclar/issue-action@f229cda
14+
- uses: Naturalclar/issue-action@v2.0.2
1515
with:
1616
github-token: "${{ secrets.GITHUB_TOKEN }}"
1717
title-or-body: 'title'
@@ -90,7 +90,7 @@ jobs:
9090
{"keywords":["(@aws-cdk/aws-elasticloadbalancingv2-targets)","(aws-elasticloadbalancingv2-targets)","(elasticloadbalancingv2-targets)","(elasticloadbalancingv2 targets)","(elbv2 targets)"],"labels":["@aws-cdk/aws-elasticloadbalancingv2-targets"],"assignees":["njlynch"]},
9191
{"keywords":["(@aws-cdk/aws-elasticsearch)","(aws-elasticsearch)","(elasticsearch)","(elastic search)","(elastic-search)"],"labels":["@aws-cdk/aws-elasticsearch"],"assignees":["iliapolo"]},
9292
{"keywords":["(@aws-cdk/aws-emr)","(aws-emr)","(emr)"],"labels":["@aws-cdk/aws-emr"],"assignees":["iliapolo"]},
93-
{"keywords":["(@aws-cdk/aws-events)","(aws-events)","(events)","(eventbridge)","event-bridge)"],"labels":["@aws-cdk/aws-events"],"assignees":["rix0rrr"]},
93+
{"keywords":["(@aws-cdk/aws-events)","(aws-events)","(events)","(eventbridge)","(event-bridge)"],"labels":["@aws-cdk/aws-events"],"assignees":["rix0rrr"]},
9494
{"keywords":["(@aws-cdk/aws-events-targets)","(aws-events-targets)","(events-targets)","(events targets)"],"labels":["@aws-cdk/aws-events-targets"],"assignees":["rix0rrr"]},
9595
{"keywords":["(@aws-cdk/aws-eventschemas)","(aws-eventschemas)","(eventschemas)","(event schemas)"],"labels":["@aws-cdk/aws-eventschemas"],"assignees":["skinny85"]},
9696
{"keywords":["(@aws-cdk/aws-fms)","(aws-fms)","(fms)"],"labels":["@aws-cdk/aws-fms"],"assignees":["rix0rrr"]},
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Automated actions for PRs against the v2-main branch
2+
name: v2
3+
on:
4+
pull_request:
5+
branches:
6+
- v2-main
7+
types:
8+
- labeled
9+
- opened
10+
- ready_for_review
11+
- reopened
12+
- synchronize
13+
- unlabeled
14+
- unlocked
15+
16+
jobs:
17+
# Run yarn pkglint on merge forward PRs and commit the results
18+
pkglint:
19+
if: contains(github.event.pull_request.labels.*.name, 'pr/forward-merge')
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: checkout
23+
uses: actions/checkout@v2
24+
with:
25+
branch: ${{ github.event.pull_request.head.ref }}
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
- name: lint
28+
run: |-
29+
yarn install --frozen-lockfile
30+
yarn pkglint
31+
- name: push
32+
uses: stefanzweifel/git-auto-commit-action@v4
33+
with:
34+
commit_message: 'automatic pkglint fixes'
35+
36+
# Approve automated PRs
37+
# Only approve! mergify takes care of the actual merge.
38+
auto-approve:
39+
if: >
40+
github.event.pull_request.user.login == 'aws-cdk-automation'
41+
&& contains(github.event.pull_request.labels.*.name, 'pr/auto-approve')
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: hmarr/[email protected]
45+
with:
46+
github-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/yarn-upgrade.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v2
1717

1818
- name: Set up Node
19-
uses: actions/[email protected].0
19+
uses: actions/[email protected].4
2020
with:
2121
node-version: 10
2222

@@ -55,12 +55,15 @@ jobs:
5555
lerna exec --parallel ncu -- --upgrade --filter=@types/node,@types/fs-extra --target=minor
5656
lerna exec --parallel ncu -- --upgrade --filter=typescript --target=patch
5757
lerna exec --parallel ncu -- --upgrade --reject='@types/node,@types/fs-extra,constructs,typescript,aws-sdk,${{ steps.list-packages.outputs.list }}' --target=minor
58-
# This will create a brand new `yarn.lock` file (this is more efficient than `yarn install && yarn upgrade`)
59-
- name: Run "yarn install --force"
60-
run: yarn install --force
58+
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn update" to run)
59+
- name: Run "yarn install"
60+
run: yarn install
61+
62+
- name: Run "yarn upgrade"
63+
run: yarn upgrade
6164

6265
- name: Make Pull Request
63-
uses: peter-evans/create-pull-request@v2
66+
uses: peter-evans/create-pull-request@v3
6467
with:
6568
# Git commit details
6669
branch: automation/yarn-upgrade

0 commit comments

Comments
 (0)