Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
into stable
  • Loading branch information
TheBusyBiscuit committed Mar 28, 2020
2 parents c8208fa + 8368553 commit d2e503c
Show file tree
Hide file tree
Showing 1,403 changed files with 158,558 additions and 54,639 deletions.
10 changes: 6 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
## Description
<!-- Please explain your changes -->
<!-- Please explain your changes in detail. -->

## Changes
<!-- Please list all the changes you have made -->
<!-- Please list all the changes you have made. -->

## Related Issues
<!-- Please tag any Issues related to your Pull Request -->
<!-- Syntax: "Resolves #000" -->

## Testability
<!-- Check the boxes below if - and only if - you tested your changes thoroughly -->
## Checklist
<!-- After posting your issue, please check the boxes below if they apply -->
- [ ] I have fully tested the proposed changes and promise that they will not break everything into chaos.
- [ ] I have also tested the proposed changes in combination with various popular addons and can confirm my changes do not break them.
- [ ] I followed the existing code standards and didn't mess up the formatting.
- [ ] I did my best to add documentation to any public classes or methods I added.
18 changes: 0 additions & 18 deletions .github/PULL_REQUEST_TEMPLATE/features.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/PULL_REQUEST_TEMPLATE/fix.md

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: Changelog Populator

on:
push:
branches:
- master
paths:
- 'CHANGELOG.md'

jobs:
populate:
name: TOC Generator
name: Changelog Generator
runs-on: ubuntu-latest
steps:
- name: TOC Generator
uses: technote-space/toc-generator@v2
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_PATHS: 'CHANGELOG.md'
TOC_TITLE: '**List of Releases**'
TOC_TITLE: ''
COMMIT_MESSAGE: '[CI skip] Updated Changelog'
COMMIT_NAME: 'TheBusyBot'
Original file line number Diff line number Diff line change
@@ -1,21 +1,39 @@
name: Issue Response
name: Respond to closed Issue
on:
issues:
types: [closed]

jobs:
comment:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'Bug Report')
steps:
- uses: rytswd/respost@v0.1.0
- name: Query recent commits
uses: TheBusyBiscuit/recently-closed-issues@1.1.0
id: resolved
with:
title: Your issue has been closed!
token: ${{ secrets.ACCESS_TOKEN }}
max_commits: 20
- name: Add label
if: contains(toJson(steps.resolved.outputs.issues), github.event.issue.number)
uses: maxkomarychev/octions/octions/issues/add-labels@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
labels: 'Resolved'
- uses: maxkomarychev/octions/octions/issues/create-comment@master
if: contains(toJson(steps.resolved.outputs.issues), github.event.issue.number) == false
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
body: |-
If your issue was **closed but not resolved**, then it may fall under one or more of the following categories.
Your issue was closed, it may fall under one or more of the following categories.
**Please wait for an admin to tick off the points that apply.**
Do not post your Issue again until an Admin has reviewed this message and you fixed the points that were ticked.
This message can be deleted if your issue was resolved.
Please respond below, if you have any questions.
* [ ] You did not follow our template. Please follow the Issue template to help us identify your issue more quickly.
* [ ] You did not provide any information about your versions (We absolutely need your exact versions, \"latest\" is not helpful)
* [ ] You did not provide a proper description to the problem.
Expand All @@ -33,5 +51,3 @@ jobs:
* [ ] You are on the wrong issue tracker. We would like to remind you that this Issue Tracker is **only for Slimefun**. To report bugs on any addons, head to the corresponding issue tracker of that addon.
Make sure to check out our article on [How to report bugs](https://github.com/TheBusyBiscuit/Slimefun4/wiki/How-to-report-bugs) for even more information.
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
34 changes: 34 additions & 0 deletions .github/workflows/invalid_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Close invalid Issue

on:
issues:
types: [opened]

jobs:
comment:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'Bug Report') == false
steps:
- name: Close Issue
uses: maxkomarychev/octions/octions/issues/update@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
state: closed
- name: Add invalid label
uses: maxkomarychev/octions/octions/issues/add-labels@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
labels: 'invalid'
- name: Create a comment
uses: maxkomarychev/octions/octions/issues/create-comment@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
issue_number: ${{ github.event.issue.number }}
body: |-
Your issue seems to be missing our template.
[Click here to create a bug report](https://github.com/TheBusyBiscuit/Slimefun4/issues/new/choose)
Please remember that this Bug Tracker is exclusively reserved for Bug reports, any other form
of discussion, like suggestions or questions should be posted on our discord server (You can find a link [on our main page](https://github.com/TheBusyBiscuit/Slimefun4#discord)).
34 changes: 34 additions & 0 deletions .github/workflows/javadocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Javadocs Generator

on:
push:
branches:
- master
paths:
- 'src/main/java/**.java'

jobs:
javadocs:

runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[javadocs]')

steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Set up JDK 1.9
uses: giltene/setup-java@master
with:
java-version: 9.0.4
- name: Generate Javadocs
run: mvn javadoc:javadoc
- name: Push to repository
uses: github-actions-x/commit@v2.5
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
push-branch: 'master'
commit-message: '[CI skip] Updated Javadocs'
force-add: 'true'
files: docs
name: TheBusyBot
email: ${{ secrets.BOT_EMAIL }}
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,24 @@ on:
push:
branches:
- master
paths:
- 'src/**'
- 'pom.xml'
pull_request:
branches:
- master
paths:
- 'src/**'
- 'pom.xml'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Checkout repository
uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: giltene/setup-java@master
with:
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
*.iml
/target
/.idea/
dependency-reduced-pom.xml
dependency-reduced-pom.xml
javadoc.xml
.DS_Store
Loading

0 comments on commit d2e503c

Please sign in to comment.