Skip to content

Commit

Permalink
Merge pull request #51 from PhpSlides/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dconco authored Dec 24, 2024
2 parents 208afe1 + ed4153d commit e3122a2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Execute Tests

on:
push:
branches: ["dev"]
branches:
- dev
pull_request:
branches: ["dev"]
branches:
- dev

permissions:
contents: write
Expand Down Expand Up @@ -57,10 +59,10 @@ jobs:
- name: Push changes to main
run: |
git fetch origin
git checkout main
git checkout -b main
git config pull.rebase false
git pull origin main # Get the latest changes from main
git merge origin/dev # Merge the dev branch into main
git push origin main # Push the changes to main
git pull origin main
git merge origin/dev --allow-unrelated-histories --no-ff
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e3122a2

Please sign in to comment.