From b244bacf08264f3183ff48754d09c87f51bb376f Mon Sep 17 00:00:00 2001 From: Brian Murray <40031786+brmur@users.noreply.github.com> Date: Fri, 21 Jun 2024 12:27:23 +0100 Subject: [PATCH 1/3] Update stats_lambda.yml --- .github/workflows/stats_lambda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stats_lambda.yml b/.github/workflows/stats_lambda.yml index b42d341302d..2820aaf6079 100644 --- a/.github/workflows/stats_lambda.yml +++ b/.github/workflows/stats_lambda.yml @@ -6,7 +6,7 @@ name: Invoke Lambda function for GitHub example/snippet metrics on: # yamllint disable-line rule:truthy - pull_request: + pull_request_target: types: - closed workflow_dispatch: From 5e523ed0468796268887a45308f69e06ae574e1c Mon Sep 17 00:00:00 2001 From: Brian Murray <40031786+brmur@users.noreply.github.com> Date: Fri, 21 Jun 2024 12:27:48 +0100 Subject: [PATCH 2/3] Update stats_lambda.yml --- .github/workflows/stats_lambda.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stats_lambda.yml b/.github/workflows/stats_lambda.yml index 2820aaf6079..b42d341302d 100644 --- a/.github/workflows/stats_lambda.yml +++ b/.github/workflows/stats_lambda.yml @@ -6,7 +6,7 @@ name: Invoke Lambda function for GitHub example/snippet metrics on: # yamllint disable-line rule:truthy - pull_request_target: + pull_request: types: - closed workflow_dispatch: From 3e43e4c25dab0741475edd7a3201200a1181247c Mon Sep 17 00:00:00 2001 From: Brian Murray <40031786+brmur@users.noreply.github.com> Date: Fri, 21 Jun 2024 12:28:39 +0100 Subject: [PATCH 3/3] Update stats_lambda.yml --- .github/workflows/stats_lambda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stats_lambda.yml b/.github/workflows/stats_lambda.yml index b42d341302d..7787302d947 100644 --- a/.github/workflows/stats_lambda.yml +++ b/.github/workflows/stats_lambda.yml @@ -1,4 +1,4 @@ -# This workflow executes a Lamdba function that records metrics for each merged PR. +# This workflow executes a Lamdba function that records metrics for each successfully merged PR. # # For more information, see: # https://github.com/marketplace/actions/invoke-aws-lambda @@ -6,7 +6,7 @@ name: Invoke Lambda function for GitHub example/snippet metrics on: # yamllint disable-line rule:truthy - pull_request: + pull_request_target: types: - closed workflow_dispatch: