Skip to content

Commit f66ad21

Browse files
committed
Merge branch 'tracer' of github.com:roger-zhangg/aws-lambda-powertools-python into tracer
2 parents ef7c509 + 52cab66 commit f66ad21

File tree

257 files changed

+9563
-3596
lines changed

Some content is hidden

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

257 files changed

+9563
-3596
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ body:
5858
attributes:
5959
label: AWS Lambda function runtime
6060
options:
61-
- "3.7"
6261
- "3.8"
6362
- "3.9"
6463
- "3.10"

.github/ISSUE_TEMPLATE/static_typing.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ body:
2525
attributes:
2626
label: AWS Lambda function runtime
2727
options:
28-
- "3.7"
2928
- "3.8"
3029
- "3.9"
3130
- "3.10"

.github/actions/create-pr/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
name: Git client setup and refresh tip
6565
run: |
6666
git config user.name "Powertools for AWS Lambda (Python) bot"
67-
git config user.email "aws-lambda-powertools-feedback@amazon.com"
67+
git config user.email "151832416+aws-powertools-[email protected].com"
6868
git config pull.rebase true
6969
git config remote.origin.url >&-
7070
shell: bash

.github/scripts/constants.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ module.exports = Object.freeze({
1818
/** @type {string} */
1919
"PR_IS_MERGED": process.env.PR_IS_MERGED || "false",
2020

21+
/** @type {string} */
22+
"PR_LABELS": process.env.PR_LABELS || "",
23+
2124
/** @type {string} */
2225
"LABEL_BLOCK": "do-not-merge",
2326

.github/scripts/label_pr_based_on_title.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { PR_NUMBER, PR_TITLE } = require("./constants")
1+
const { PR_NUMBER, PR_TITLE, PR_LABELS } = require("./constants")
22

33
module.exports = async ({github, context, core}) => {
44
const FEAT_REGEX = /feat(\((.+)\))?(:.+)/
@@ -18,10 +18,9 @@ module.exports = async ({github, context, core}) => {
1818
}
1919

2020
// get PR labels from env
21-
const prLabels = process.env.PR_LABELS.replaceAll("\"", "").split(",");
21+
const prLabels = PR_LABELS.replaceAll("\"", "").split(",");
2222
const labelKeys = Object.keys(labels);
2323

24-
// Maintenance: We should keep track of modified PRs in case their titles change
2524
let miss = 0;
2625
try {
2726
for (const label in labels) {

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
31+
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
3232

3333
# Initializes the CodeQL tools for scanning.
3434
- name: Initialize CodeQL

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: 'Checkout Repository'
20-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20+
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@c74b580d73376b7750d3d2a50bfb8adc2c937507 # v3.1.5
22+
uses: actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3

.github/workflows/label_pr_on_title.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ jobs:
5050
pull-requests: write # label respective PR
5151
steps:
5252
- name: Checkout repository
53-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
53+
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
5454
- name: "Label PR based on title"
5555
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
5656
env:
5757
PR_NUMBER: ${{ needs.get_pr_details.outputs.prNumber }}
5858
PR_TITLE: ${{ needs.get_pr_details.outputs.prTitle }}
59+
PR_LABELS: ${{ needs.get_pr_details.outputs.prLabels }}
5960
with:
6061
github-token: ${{ secrets.GITHUB_TOKEN }}
6162
# This safely runs in our base repo, not on fork

.github/workflows/on_label_added.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
permissions:
4848
pull-requests: write # comment on PR
4949
steps:
50-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
50+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
5151
# Maintenance: Persist state per PR as an artifact to avoid spam on label add
5252
- name: "Suggest split large Pull Request"
5353
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1

.github/workflows/on_merged_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
issues: write # label issue with pending-release
5050
if: needs.get_pr_details.outputs.prIsMerged == 'true'
5151
steps:
52-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
52+
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
5353
- name: "Label PR related issue for release"
5454
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
5555
env:

0 commit comments

Comments
 (0)