Automatically timeout users with >3 automod actions in < 5 minutes #509
Workflow file for this run
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
name: Build Pull Request | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths-ignore: | |
- '.idea/copyright/*.xml' | |
- '.gitignore' | |
- 'LICENSE' | |
- 'README.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build GeyserBot | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
if: success() | |
with: | |
name: GeyserBot | |
path: build/libs/GeyserBot.jar |