Skip to content

Commit

Permalink
chore(workflow): remove update next job
Browse files Browse the repository at this point in the history
simenandre authored Dec 5, 2024
1 parent 13fd640 commit 8b35b08
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -41,36 +41,6 @@ jobs:
- name: Lint 🔨
run: pnpm lint

update-next:
name: Update next
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
ref: next

- name: Reset promotion branch
run: |
git fetch origin main:main
git reset --hard main
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: promote/main-to-next
title: "Promote changes in main → next"
body: |
This PR promotes changes from the main branch to the next branch.
It is created automatically by the GitHub Actions workflow.
**PS!** This should not be squashed or rebased, as it will be used to merge changes back to main.
build:
name: Build and Deploy
runs-on: ubuntu-latest

0 comments on commit 8b35b08

Please sign in to comment.