Skip to content

Sync Tags from Upstream #622

Sync Tags from Upstream

Sync Tags from Upstream #622

Workflow file for this run

name: Sync Tags from Upstream
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Runs at 00:00 UTC every day
jobs:
sync-tags:
if: github.repository != 'ServerOpenMC/PluginV2'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Sync tags from upstream
run: |
git remote add upstream https://github.com/ServerOpenMC/PluginV2.git
git fetch upstream --tags
git push origin --tags