32 lines
727 B
YAML
32 lines
727 B
YAML
name: Sync Upstream Bluesky
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 */8 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout main
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: main
|
|
fetch-depth: 0
|
|
|
|
- name: Configure Git Identity
|
|
run: |
|
|
git config user.name "gitea-actions-bot"
|
|
git config user.email "toaster+git@proot.uk"
|
|
|
|
- name: Add Upstream Remote
|
|
run: git remote add upstream https://github.com/bluesky-social/social-app.git
|
|
|
|
- name: Fetch Upstream
|
|
run: git fetch upstream
|
|
|
|
- name: Merge and Push
|
|
run: |
|
|
git merge upstream/main --no-edit
|
|
git push origin main |