We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f225e commit 966bf00Copy full SHA for 966bf00
.github/workflows/lambda.yml
@@ -2,7 +2,7 @@ name: Lambda
2
on:
3
push:
4
branches:
5
- - master
+ - main
6
pull_request:
7
types: [opened, synchronize, reopened]
8
@@ -13,7 +13,7 @@ jobs:
13
- name: Get GitHub Commit SHA based on Ref
14
id: commit
15
run: |
16
- if [[ '${{ github.ref }}' == 'refs/heads/master' ]]; then
+ if [[ '${{ github.ref }}' == 'refs/heads/main' ]]; then
17
echo "sha=${{ github.sha }}" >> $GITHUB_OUTPUT
18
else
19
echo "sha=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
0 commit comments