mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
44 lines
2.4 KiB
YAML
44 lines
2.4 KiB
YAML
name: GDevelop Issues automatic workflow
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
jobs:
|
|
autoclose:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Autoclose issues about adding a bug without changing the bug report template
|
|
uses: arkon/issue-closer-action@v1.1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
type: "body"
|
|
regex: ".*Scroll down to '\\.\\.\\.\\.'.*"
|
|
message: "Hi @${issue.user.login}! 👋 This issue was automatically closed because it seems that you have not included any steps to reproduce the bug.\n\nGitHub is a place for the technical development of GDevelop itself - you may want to go on the [forum](https://forum.gdevelop.io/), the Discord chat or [read the documentation](https://wiki.gdevelop.io/gdevelop5/start) to learn more about GDevelop. Thanks!"
|
|
- name: Autoclose known beta 105 web-app update bug
|
|
uses: arkon/issue-closer-action@v1.1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
type: "body"
|
|
regex: ".*_instance.getRawFloatProperty is not a function.*"
|
|
message: "Hi @${issue.user.login}! 👋 This issue was automatically closed as this seems to be a known bug. It can be solved by **closing entirely the web-app and opening it again**. This will allow the web-app to auto-update and the problem should be gone."
|
|
- name: Autoclose known beta 114 web-app update bug
|
|
uses: arkon/issue-closer-action@v1.1
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
type: "body"
|
|
regex: ".*getAssociatedSettings is not a function.*"
|
|
message: "Hi @${issue.user.login}! 👋 This issue was automatically closed as this seems to be a known bug. It can be solved by **closing entirely the web-app and opening it again**. This will allow the web-app to auto-update and the problem should be gone."
|
|
autocomment:
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.issue.body, 'The node to be removed is not a child of this node')
|
|
steps:
|
|
- name: Autocomment indications on bug if it looks like #3453
|
|
uses: peter-evans/create-or-update-comment@v1
|
|
with:
|
|
issue-number: ${{ github.event.issue.number }}
|
|
body: |
|
|
Hi @${{ github.actor }}!
|
|
Thank you for taking the time to open an issue.
|
|
|
|
The solved issue #3453 mentioned a similar error, maybe it could help fix this new issue.
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|