Skip to content

Commit

Permalink
ci: updates to the CI flow
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Sep 19, 2023
1 parent cf788f0 commit 997b752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: Release to Production

# Run this workflow every time a new commit is pushed to the master branch
# or when a workflow run from the Version Branch Update workflow completes.
# In either case, the branch used for the build will be master.
# or a version branch (e.g. version-4-0)

on:
push:
branches: [master]
workflow_run:
workflows: [Version Branch Update]
types: [completed]
branches: ['master', 'version-**']

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-branch-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Version Branch Update
on:
pull_request:
branches:
- 'version-*'
- 'version-**'
types: [opened, synchronize, reopened]


Expand Down

0 comments on commit 997b752

Please sign in to comment.