From d43114a53fcfaf99cd0a6e4625ffbb51cf3b0185 Mon Sep 17 00:00:00 2001
From: Kakathic <143571950+Zelooooo@users.noreply.github.com>
Date: Mon, 30 Oct 2023 15:24:05 +0700
Subject: [PATCH] Update build.yml
---
.github/workflows/build.yml | 34 +++++++++++++++-------------------
1 file changed, 15 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b1c9474..d6514ec 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -4,6 +4,10 @@ on:
issues:
types:
- opened
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
permissions: write-all
jobs:
build:
@@ -13,23 +17,15 @@ jobs:
steps:
- name: Load data
uses: actions/checkout@v3
- - name: Build
- run: |
- # kakathic
- . test.sh
- - name: Dán Link
- uses: actions-cool/issues-helper@v3
+ - uses: dessant/support-requests@v3
with:
- actions: 'add-labels'
- labels: 'Hoàn thành'
- token: ${{ secrets.GITHUB_TOKEN }}
- issue-number: 2
- - name: Dán Link 2
- uses: actions-cool/issues-helper@v3
- with:
- actions: 'create-comment'
- token: ${{ secrets.GITHUB_TOKEN }}
- issue-number: 2
- body: |
- "NAME: ${{ env.NAMER }}
LINK DOWNLOAD: ${{ env.LINKROM }}
MD5: ${{ env.MD5 }}"
-
+ github-token: ${{ github.token }}
+ support-label: 'bug'
+ issue-comment: >
+ :wave: @{issue-author}, we use the issue tracker exclusively
+ for bug reports and feature requests. However, this issue appears
+ to be a support request. Please use our support channels
+ to get help with the project.
+ close-issue: true
+ lock-issue: false
+ issue-lock-reason: 'off-topic'