Skip to content

Commit

Permalink
feat: speed up merge workflow (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed May 14, 2024
1 parent ffa0097 commit 601d9d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
pull_request:
types: ["opened", "reopened", "synchronize", "ready_for_review"]
push:
branches:
- main
branches: [main]
workflow_dispatch:

concurrency:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/merge-main.yml → .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Merge to Main
name: Merge

on:
push:
branches:
- main
workflow_run:
workflows: [PR Closed]
types: [completed]
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -69,9 +69,7 @@ jobs:

deploy-test:
name: TEST Deployment
needs:
- codeql
- init-test
needs: [init-test]
environment: test
runs-on: ubuntu-22.04
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Close
name: PR Closed

on:
pull_request:
Expand Down

0 comments on commit 601d9d6

Please sign in to comment.