Portable Tool for an Ideal Windows Setup
C# activatorbloatware-removalcsharpdebloatdebloaterdisable-servicesmonitoring-systemportableprivacy-toolsregistry-tweakssystem-tuningsystem-utilitytelemetrytweakerwindows-10windows-11windows-debloatwindows-defenderwindows-optimizationwindows-tweaks
upd. trigger conditions for auto prefix workflow
Greedeks3264f51f6af1
diff --git a/.github/workflows/issue-prefix.yaml b/.github/workflows/issue-prefix.yamlindex a813741d..550cebeb 100644--- a/.github/workflows/issue-prefix.yaml+++ b/.github/workflows/issue-prefix.yaml@@ -3,25 +3,32 @@ name: Auto Prefix Issueson:issues:types: [opened, edited, labeled]+ workflow_dispatch:jobs:add-prefix:runs-on: ubuntu-latestpermissions:issues: write+ if: >-+ !startsWith(github.event.issue.title, '[BUG]') &&+ !startsWith(github.event.issue.title, '[Feature]') &&+ !startsWith(github.event.issue.title, '[Question]') &&+ (github.event.action != 'edited' || github.event.changes.title != null) &&+ (github.event.action != 'labeled' || contains(fromJSON('["bug", "feature", "question"]'), github.event.label.name))env:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}ISSUE_URL: ${{ github.event.issue.html_url }}ISSUE_TITLE: ${{ github.event.issue.title }}steps:- name: Add [BUG] prefix- if: contains(github.event.issue.labels.*.name, 'bug') && !startsWith(github.event.issue.title, '[BUG]')+ if: contains(github.event.issue.labels.*.name, 'bug')run: gh issue edit "$ISSUE_URL" --title "[BUG] $ISSUE_TITLE"- name: Add [Feature] prefix- if: contains(github.event.issue.labels.*.name, 'feature') && !startsWith(github.event.issue.title, '[Feature]')+ if: "!contains(github.event.issue.labels.*.name, 'bug') && contains(github.event.issue.labels.*.name, 'feature')"run: gh issue edit "$ISSUE_URL" --title "[Feature] $ISSUE_TITLE"- name: Add [Question] prefix- if: contains(github.event.issue.labels.*.name, 'question') && !startsWith(github.event.issue.title, '[Question]')+ if: "!contains(github.event.issue.labels.*.name, 'bug') && !contains(github.event.issue.labels.*.name, 'feature') && contains(github.event.issue.labels.*.name, 'question')"run: gh issue edit "$ISSUE_URL" --title "[Question] $ISSUE_TITLE"\ No newline at end of file