From 05697372f8ab76606af7bb3d7b5a5383c4784285 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sat, 25 Dec 2021 17:26:03 -0800 Subject: [PATCH] Remove issues action Handled by external MagiskBot --- .github/workflows/issues.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/issues.yml diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index c4d26fc3d..000000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Check Issues - -on: - issues: - types: [opened] -jobs: - check: - runs-on: ubuntu-latest - steps: - - name: Check out - uses: actions/checkout@v2 - - name: Read latest version code - run: | - ver=$(sed -n 's/^magisk.versionCode=//p' gradle.properties) - echo MAGISK_VERSION_CODE=$ver >> $GITHUB_ENV - - if: contains(github.event.issue.body, format('Magisk version code{0} ', ':')) != true - id: close - name: Close Issue(template) - uses: peter-evans/close-issue@v1 - with: - comment: This issue is being automatically closed because it does not follow the issue template. - - if: steps.close.conclusion == 'skipped' && contains(github.event.issue.body, format('Magisk version code{0} {1}', ':', env.MAGISK_VERSION_CODE)) != true - name: Close Issue(latest canary) - uses: peter-evans/close-issue@v1 - with: - comment: This issue is being automatically closed because latest canary Magisk version code is ${{ env.MAGISK_VERSION_CODE }}.