Merge remote-tracking branch 'upstream/master' into cache
This commit is contained in:
15
.github/workflows/greetings.yml
vendored
Normal file
15
.github/workflows/greetings.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: OpenOSRS - First interaction
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Thank you for opening your first issue! Please make sure to join our [Discord](https://discord.gg/openosrs).'
|
||||
19
.github/workflows/merge.yml
vendored
19
.github/workflows/merge.yml
vendored
@@ -17,4 +17,21 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
MERGE_FORKS: false
|
||||
LABELS: automated-pull-request
|
||||
AUTOMERGE: automated-pull-request
|
||||
AUTOMERGE: automated-pull-request
|
||||
|
||||
cleanup:
|
||||
name: Cleanup
|
||||
needs: automerge
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Extract branch name
|
||||
shell: bash
|
||||
run: echo "##[set-output name=branch;]$(echo $(jq --raw-output .pull_request.head.ref "$GITHUB_EVENT_PATH"))"
|
||||
id: extract_branch
|
||||
- name: Delete PR head branch
|
||||
uses: dawidd6/action-delete-branch@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ steps.extract_branch.outputs.branch }}
|
||||
be_kind: true
|
||||
|
||||
11
.github/workflows/push.yml
vendored
11
.github/workflows/push.yml
vendored
@@ -73,4 +73,13 @@ jobs:
|
||||
- name: Assembling
|
||||
run: ./gradlew assemble --console=plain
|
||||
- name: Checking code conventions
|
||||
run: ./gradlew checkstyleMain --console=plain
|
||||
run: ./gradlew checkstyleMain --console=plain
|
||||
|
||||
update_draft_release:
|
||||
name: Draft release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: toolmantim/release-drafter@v5.2.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user