Skip to content

Commit

Permalink
Staging (#10)
Browse files Browse the repository at this point in the history
* Add Github Workflow for Auto Merge PRs

* Test Auto Merge (#1)

* Test Auto Merge

* Update Token

* Update Token

* Update Token

* Update Token

* Update Token

* Update script

* Update script

* Update script

---------

Co-authored-by: Ujala Singh <[email protected]>

* Update script

* Update script (#2)

Co-authored-by: Ujala Singh <[email protected]>

* Enable Auto Merge only for main branch (#4)

Co-authored-by: Ujala Singh <[email protected]>

* Enable Auto Merge only for main branch (#6)

Co-authored-by: Ujala Singh <[email protected]>

* Pull Latest Changes

* Check Flow (#8)

Co-authored-by: Ujala Singh <[email protected]>

* Check Flow (#9)

Co-authored-by: Ujala Singh <[email protected]>

---------

Co-authored-by: Ujala Singh <[email protected]>
  • Loading branch information
ujala-singh and Ujala Singh authored Jan 15, 2024
1 parent 3b1d4b9 commit 0de847f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
auto_merge:
runs-on: ubuntu-latest

if: github.event.pull_request.base.ref == 'main'
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-branch-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: git fetch origin main

- name: Pull latest changes
run: git pull origin main
run: git pull --rebase origin main

- name: Create Main Branch PR
run: |
Expand Down

0 comments on commit 0de847f

Please sign in to comment.