Skip to content

Commit b3b77f3

Browse files
committed
DEVOPS-00: build only on merged prs
1 parent 3e351a3 commit b3b77f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Build
22
on:
3-
push:
4-
branches:
5-
- main
3+
pull_request:
4+
types:
5+
- closed
66

77
concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
@@ -27,7 +27,7 @@ jobs:
2727
echo "FUNCTION=$FUNCTION" >> $GITHUB_ENV
2828
- name: Run GitOps Automatic Versioning Action
2929
id: gitops-autover
30-
uses: AlexAtkinson/github-action-gitops-autover@0.1.5
30+
uses: AlexAtkinson/github-action-gitops-autover@0.1.6
3131
- name: Set Version Dependent Envars
3232
run: |
3333
VERSION=${{ steps.gitops-autover.outputs.new-version }}

0 commit comments

Comments
 (0)