Skip to content

Commit

Permalink
Moved to a PR based system, which notifies on conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Jan 29, 2025
1 parent 2dca883 commit 30fa13a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 45 deletions.
9 changes: 9 additions & 0 deletions .github/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: "1"
rules:
- base: main # Target branch
upstream: PaperMC:dev/3.0.0 # Must be in the same fork network.
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
mergeUnstable: false # merge pull request even when the mergeable_state is not clean. Default: false
conflictReviewers: # Optional, on merge conflict assign a reviewer
- Tim203
conflictLabel: "merge-conflict" # Optional, on merge conflict assign a custom label, Default: merge-conflict
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish to opencollab repo

on:
workflow_dispatch:
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
server-id: opencollab
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
- name: Publish to Maven Repository
run: gradle publish
env:
ORG_GRADLE_PROJECT_geysermcUsername: ${{ vars.DEPLOY_USER }}
ORG_GRADLE_PROJECT_geysermcPassword: ${{ secrets.DEPLOY_PASS }}
45 changes: 0 additions & 45 deletions .github/workflows/sync-publish.yml

This file was deleted.

0 comments on commit 30fa13a

Please sign in to comment.