Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/main-source-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Main source branch

on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- edited

jobs:
source-branch:
name: Source branch must be develop
runs-on: ubuntu-latest
steps:
- name: Verify pull request source
env:
HEAD_REF: ${{ github.head_ref }}
run: test "$HEAD_REF" = develop
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public LiteralCommandNode<CommandSourceStack> create() {
.then(new Invite(plugin).build())
.then(new Create(plugin).build())
.then(new Start(plugin).build())
.then(new Stop(plugin).build())
.then(new Version(plugin).build())
.then(new Remove(plugin).build())
.then(new Remove(plugin).build())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public LiteralArgumentBuilder<CommandSourceStack> build() {
new Invite(plugin),
new Remove(plugin),
new Start(plugin),
new Stop(plugin),
new Players(plugin),
new Version(plugin)
);
Expand Down
Loading