Skip to content

Merge pull request #368 from FyraLabs/dependabot/bun/fumadocs-core-16… #75

Merge pull request #368 from FyraLabs/dependabot/bun/fumadocs-core-16…

Merge pull request #368 from FyraLabs/dependabot/bun/fumadocs-core-16… #75

Workflow file for this run

name: Sync next with main
permissions:
contents: read
on:
push:
branches:
- main
workflow_dispatch:
jobs:
merge:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}
ref: next
- name: Install SSH signing key
run: |
mkdir -p ${{ runner.temp }}
echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key
chmod 0700 ${{ runner.temp }}/signing_key
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Set up Git config
run: |
git config user.name "Raboneko"
git config user.email "raboneko@fyralabs.com"
git config gpg.format "ssh"
git config user.signingkey "${{ runner.temp }}/signing_key"
git config --global merge.ours.driver true
git config --global commit.gpgsign true
- name: Merge main into next
env:
GITHUB_TOKEN: ${{ secrets.MERGE_TOKEN }}
run: |
git fetch origin main
git merge --no-edit origin/main
git push origin next