We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 0f592b6Copy full SHA for 0f592b6
README.MD
@@ -0,0 +1,3 @@
1
+# GitHub Actions Deep Dive
2
+
3
+A simple Lambda function that can be deployed via a GitHub Actions Workflow.
function/lambda_function.py
@@ -0,0 +1,19 @@
+from github import Github
+def lambda_handler(event, context):
4
+ """Lambda function wrapper
5
+ Args:
6
+ event: trigger event dict
7
+ context: lambda methods and properties
8
+ Returns:
9
+ string: greeting response
10
+ """
11
+ print('Starting functions\n---------------------------------------------'
12
13
+ if event["input"] == "Hello":
14
15
+ return "World"
16
17
+ else:
18
19
+ raise
function/requirements.txt
@@ -0,0 +1,2 @@
+Github==1.55
+boto3==1.17.96
0 commit comments