Skip to content

Commit

Permalink
feat: update action
Browse files Browse the repository at this point in the history
  • Loading branch information
montasim committed Aug 17, 2024
2 parents 9028460 + 9fde2dd commit 69f4ab0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-on-merge.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: Build on Merge
name: Build on Merge to Main

on:
pull_request:
types: [closed]
branches:
- main
paths-ignore:
- '**' # Ignore all paths to restrict to specific conditions

jobs:
check-merge:
if: github.event.pull_request.merged == true && github.base_ref == 'main' && github.head_ref == 'development'
runs-on: ubuntu-latest

if: github.event.pull_request.merged == true
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down

0 comments on commit 69f4ab0

Please # to comment.