Skip to content

Commit 817e33b

Browse files
authored
Merge branch 'philips-labs:develop' into master
2 parents 67b63d9 + 68a2014 commit 817e33b

Some content is hidden

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

92 files changed

+3040
-2760
lines changed

.github/dependabot.yml

+5
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ updates:
2626
directory: "/modules/runners/lambdas/runners"
2727
schedule:
2828
interval: "weekly"
29+
30+
- package-ecosystem: "npm"
31+
directory: "/.release"
32+
schedule:
33+
interval: "weekly"

.github/workflows/auto-approve-dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: hmarr/auto-approve-action@v2.1.0
17+
- uses: hmarr/auto-approve-action@v2.2.1
1818
with:
1919
github-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/lambda-runner-binaries-syncer.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
container: node:14
14+
strategy:
15+
matrix:
16+
node: [14, 16]
17+
container:
18+
image: node:${{ matrix.node }}
1519
defaults:
1620
run:
1721
working-directory: modules/runner-binaries-syncer/lambdas/runner-binaries-syncer

.github/workflows/lambda-runners.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
container: node:14
14+
strategy:
15+
matrix:
16+
node: [14, 16]
17+
container:
18+
image: node:${{ matrix.node }}
1519
defaults:
1620
run:
1721
working-directory: modules/runners/lambdas/runners

.github/workflows/lambda-webhook.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
container: node:14
14+
strategy:
15+
matrix:
16+
node: [14, 16]
17+
container:
18+
image: node:${{ matrix.node }}
1519
defaults:
1620
run:
1721
working-directory: modules/webhook/lambdas/webhook

.github/workflows/packer-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Packer checks"
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
- develop
77
pull_request:
88
paths:

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release build
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- develop
88
workflow_dispatch:
99

@@ -27,7 +27,7 @@ jobs:
2727
- name: Build dist
2828
working-directory: ${{ matrix.lambda }}
2929
run: yarn install && yarn run test && yarn dist
30-
- uses: actions/upload-artifact@v2
30+
- uses: actions/upload-artifact@v3
3131
with:
3232
name: ${{ steps.lambda.outputs.name }}
3333
path: ${{ matrix.lambda }}/${{ steps.lambda.outputs.name }}.zip
@@ -43,15 +43,15 @@ jobs:
4343
with:
4444
fetch-depth: 0
4545
persist-credentials: false
46-
- uses: actions/download-artifact@v2
46+
- uses: actions/download-artifact@v3
4747
with:
4848
name: webhook
4949
path: artifacts
50-
- uses: actions/download-artifact@v2
50+
- uses: actions/download-artifact@v3
5151
with:
5252
name: runners
5353
path: artifacts
54-
- uses: actions/download-artifact@v2
54+
- uses: actions/download-artifact@v3
5555
with:
5656
name: runner-binaries-syncer
5757
path: artifacts
@@ -75,7 +75,7 @@ jobs:
7575
yarn release -d --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
7676
7777
- name: Release
78-
if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref)
78+
if: github.event_name != 'pull_request' && contains('refs/heads/main', github.ref)
7979
env:
8080
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
8181
run: |

.github/workflows/semantic-check.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Semantic Check"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
permissions:
11+
contents: read
12+
pull-requests: read
13+
14+
jobs:
15+
main:
16+
name: Semantic Commit Message Check
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- uses: amannn/action-semantic-pull-request@v4
22+
name: Check PR for Semantic Commit Message
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
with:
26+
requireScope: false
27+
validateSingleCommit: true
28+
ignoreLabels: release merge

.github/workflows/stale.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Stale issue and PR workflow"
2+
on:
3+
schedule:
4+
- cron: "30 1 * * *"
5+
workflow_dispatch:
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
jobs:
12+
stale:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v5
16+
with:
17+
stale-issue-message: >
18+
This issue has been automatically marked as stale because it has not had
19+
activity in the last 30 days. It will be closed if no further activity occurs.
20+
Thank you for your contributions.
21+
stale-pr-message: >
22+
This pull request has been automatically marked as stale because it has not had
23+
activity in the last 30 days. It will be closed if no further activity occurs. Thank you
24+
for your contributions.
25+
days-before-stale: 30
26+
days-before-close: 10
27+
close-issue-label: "abandoned"

.github/workflows/terraform.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "Terraform checks"
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
- develop
77
pull_request:
88
paths-ignore:
@@ -15,7 +15,7 @@ jobs:
1515
name: Verify module
1616
strategy:
1717
matrix:
18-
terraform: [1.1.3, 'latest']
18+
terraform: [1.1.3, "latest"]
1919
runs-on: ubuntu-latest
2020
container:
2121
image: hashicorp/terraform:${{ matrix.terraform }}
@@ -44,8 +44,9 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
terraform: [1.0.11, 1.1.3, 'latest']
48-
example: ["default", "ubuntu", "prebuilt", "arm64", "ephemeral", "windows"]
47+
terraform: [1.0.11, 1.1.3, "latest"]
48+
example:
49+
["default", "ubuntu", "prebuilt", "arm64", "ephemeral", "windows"]
4950
defaults:
5051
run:
5152
working-directory: examples/${{ matrix.example }}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*id_rsa*
99

1010
# other
11+
node_modules/
1112
.idea
1213
.DS_Store
1314
*.out
@@ -20,3 +21,5 @@ secrets.auto.tfvars
2021
.vscode
2122

2223
**/coverage/*
24+
25+
node_modules/

.release/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"@semantic-release/github": "^8.0.2",
1414
"@semantic-release/release-notes-generator": "^10.0.3",
1515
"conventional-changelog-conventionalcommits": "^4.6.3",
16-
"semantic-release": "^18.0.1"
16+
"semantic-release": "^19.0.2"
1717
}
1818
}

0 commit comments

Comments
 (0)