From f516f4e2dcd3554f15f8fd82fc9c629e7d7f1fb4 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Wed, 3 Jul 2024 12:12:26 +0300 Subject: [PATCH] ci: drop project workflow GitHub is killing the good projects --- .github/ISSUE_TEMPLATE/bug.yml | 8 ++- .github/ISSUE_TEMPLATE/enhancement.yml | 4 +- .github/workflows/issues.yml | 77 -------------------------- 3 files changed, 8 insertions(+), 81 deletions(-) delete mode 100644 .github/workflows/issues.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 75346e4..465300f 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -5,8 +5,8 @@ body: - type: dropdown id: scripts attributes: - label: Script(s) - multiple: true + label: Script + multiple: false options: - "`clipshot.lua`" - "`discord.lua`" @@ -50,9 +50,13 @@ body: id: mpv-version attributes: label: MPV version + description: "`mpv --version`" validations: {required: false} - type: input id: lua-version attributes: label: Lua version + description: |- + Linux/macOS: `ldd "$(which mpv)" | grep lua` +
Windows: Figure it out ¯\\_(ツ)\_/¯ validations: {required: false} diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml index 32e64e6..6e62e0f 100644 --- a/.github/ISSUE_TEMPLATE/enhancement.yml +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -5,8 +5,8 @@ body: - type: dropdown id: scripts attributes: - label: Script(s) - multiple: true + label: Script + multiple: false options: - "`clipshot.lua`" - "`discord.lua`" diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index 21e70fb..0000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: Automate issue labels & projects - -on: - issues: - types: [opened] - -jobs: - add-os-label: - runs-on: ubuntu-latest - steps: - - name: Add Windows label - if: contains(github.event.issue.body, '[x] Windows') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - labels-add: os:windows - - name: Add Linux label - if: contains(github.event.issue.body, '[x] Linux') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - labels-add: os:linux - - name: Add macOS label - if: contains(github.event.issue.body, '[x] macOS') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - labels-add: os:macos - - add-to-project: - runs-on: ubuntu-latest - steps: - - name: Add to Clipshot project - if: contains(github.event.issue.body, '`clipshot.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Clipshot - project-column: To do - - name: Add to Misc project - if: contains(github.event.issue.body, '`misc.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Misc - project-column: To do - project-scope: repository - - name: Add to Open Dialog (KDialog) project - if: contains(github.event.issue.body, '`open-dialog/kdialog.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Open Dialog (KDialog) - project-column: To do - project-scope: repository - - name: Add to Open Dialog (Zenity) project - if: contains(github.event.issue.body, '`open-dialog/zenity.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Open Dialog (Zenity) - project-column: To do - project-scope: repository - - name: Add to Open Dialog (PowerShell) project - if: contains(github.event.issue.body, '`open-dialog/powershell.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Open Dialog (PowerShell) - project-column: To do - project-scope: repository - - name: Add to Open Dialog (OSAScript) project - if: contains(github.event.issue.body, '`open-dialog/osascript.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Open Dialog (OSAScript) - project-column: To do - project-scope: repository - - name: Add to Discord project - if: contains(github.event.issue.body, '`discord.lua`') - uses: jeffdanielperso/github-project-auto@1.0.0 - with: - project-name: Discord - project-column: To do - project-scope: repository