-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #268 from NotEnoughUpdates/master
2.1 Continued
- Loading branch information
Showing
804 changed files
with
71,637 additions
and
21,610 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
* text=auto | ||
|
||
# Always Unix-style line endings | ||
*.sh text eol=lf | ||
|
||
# Always Windows-style line endings | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf | ||
|
||
# Always binary | ||
*.jpg -text | ||
*.ogg -text | ||
*.png -text | ||
*.xcf -text |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/src/main/java/io/github/moulberry/notenoughupdates/recipes/* @romangraef | ||
/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiItemRecipe.java @romangraef | ||
/*gradle* @romangraef | ||
/README.md @IRONM00N | ||
/CONTRIBUTING.md @romangraef @IRONM00N | ||
/.editorconfig @IRONM00N | ||
/.github/CODE_OF_CONDUCT.md @IRONM00N | ||
/.github/SECURITY.md @IRONM00N | ||
/.github/SUPPORT.md @IRONM00N | ||
/.idea/codeStyles/* @IRONM00N | ||
/.idea/copyright/* @IRONM00N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Contributor Code of Conduct | ||
|
||
Don't be a jerk. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: NEU Support | ||
url: https://discord.gg/moulberry | ||
about: "Please ask for support in #neu-support on Moulberry's discord." | ||
- name: Report security vulnerabilities | ||
url: https://discord.gg/moulberry | ||
about: "If you wish to discuss a bug *with security implications* privately, please open a ticket in Moulberry's discord using /new in #bot-commands" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Security Policy | ||
|
||
## Supported Versions | ||
|
||
The following versions of the mod support security updates. | ||
|
||
| Version | Supported | | ||
| ------- | ------------------ | | ||
| < 2.0 | :x: | | ||
| 2.0.x | :white_check_mark: | | ||
| 2.1.x | :white_check_mark: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
Please report vulnerabilities in our [discord server](https://discord.gg/moulberry) by creating a new | ||
ticket in #bot-commands with the command `/new <reason>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- markdownlint-disable MD034 --> | ||
|
||
# Obtain Support for NotEnoughUpdates | ||
|
||
If you are struggling to install the mod, having issues with it, experiencing | ||
unexpected crashes, or have another issue: join our community [discord server](https://discord.gg/moulberry) | ||
and ask for help in the #neu-support channel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Infer | ||
|
||
on: | ||
- pull_request | ||
- workflow_dispatch | ||
jobs: | ||
inferering: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
name: Checkout feature | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
cache: gradle | ||
- name: Setup Infer | ||
uses: srz-zumix/setup-infer@v1 | ||
- name: Run Infer on feature | ||
run: | | ||
echo On commit $(git log --pretty=%s -1) | ||
mkdir -p ciwork | ||
infer capture -- ./gradlew clean test --no-daemon | ||
infer analyze | ||
cp infer-out/report.json ciwork/report-feature.json | ||
- uses: actions/checkout@v2 | ||
name: Checkout base | ||
with: | ||
ref: ${{ github.event.pull_request.base.sha }} | ||
clean: false | ||
- name: Run Infer on base | ||
run: | | ||
echo On commit $(git log --pretty=%s -1) | ||
infer capture --reactive -- ./gradlew clean test --no-daemon | ||
infer analyze --reactive | ||
- name: Generate report | ||
run: | | ||
infer reportdiff --report-current ciwork/report-feature.json --report-previous infer-out/report.json | ||
jq -r '.[] | select(.severity == "ERROR") | ("::error file="+.file +",line=" +(.line|tostring)+"::" + .qualifier)' <infer-out/differential/introduced.json | ||
jq -r '.[] | select(.severity == "WARNING") | ("::warning file="+.file +",line=" +(.line|tostring)+"::" + .qualifier)' <infer-out/differential/introduced.json | ||
fixcount=$(jq -r "length" <infer-out/differential/fixed.json) | ||
unfixcount=$(jq -r "length" <infer-out/differential/introduced.json) | ||
othercount=$(jq -r "length" <infer-out/differential/preexisting.json) | ||
echo "This PR fixes $fixcount potential bug(s), introduces $unfixcount potential bug(s). (Total present in feature branch: $((unfixcount + othercount)))" >>$GITHUB_STEP_SUMMARY | ||
[[ $unfixcount != 0 ]] && exit 1 || echo ok. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.