1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

[CI skip] Updated workflow

This commit is contained in:
TheBusyBiscuit 2020-03-21 20:03:26 +01:00 committed by GitHub
parent 5fe670b51d
commit a537c085ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Close invalid Pull Requests
name: Comment on invalid Pull Requests
on:
pull_request:
@ -14,15 +14,14 @@ on:
jobs:
pulls:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.head.ref, 'gitlocalize-') == false
steps:
- uses: maxkomarychev/octions/octions/pulls/submit-review@master
- uses: maxkomarychev/octions/octions/issues/create-comment@master
with:
token: ${{ secrets.ACCESS_TOKEN }}
pull_number: ${{ github.event.pull_request.number }}
review_id: 1
event: REQUEST_CHANGES
issue_number: ${{ github.event.pull_request.number }}
body: |-
Hey, it looks you edited a language file.
:warning: Hey, it looks you edited a language file.
We use [gitlocalize](https://gitlocalize.com/repo/3841) for handling localization, please don't submit any localization files
via GitHub. That is sadly not possible.