Skip to content

Commit

Permalink
ci: gh action to rebase bev2 (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerlz authored Dec 23, 2024
1 parent b0c0ce6 commit ccc5355
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cd-bleeding-edge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Rebase bleeding-edge-v2

on:
workflow_dispatch:

jobs:
rebase-bleeding-edge:
runs-on: ubuntu-latest

steps:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: configure git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: fetch branches
run: |
git fetch origin main bleeding-edge-v2
- name: rebase bleeding-edge-v2 onto main
run: |
git checkout bleeding-edge-v2
git rebase main
- name: push changes
run: |
git push origin bleeding-edge-v2 --force
7 changes: 4 additions & 3 deletions .github/workflows/cd-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: docs deployment
name: Docs deployment

on:
workflow_dispatch:
push:
Expand Down Expand Up @@ -39,5 +40,5 @@ jobs:
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: site # The folder the action should deploy.
branch: gh-pages
folder: site
1 change: 0 additions & 1 deletion .github/workflows/ci-build_test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Perform continuous integration tests on updates and pull requests
name: Build test

on:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Perform continuous integration tests on pull requests
name: Ruff

on: pull_request
Expand Down

0 comments on commit ccc5355

Please sign in to comment.