From b6d5429bbafde14f0556313407b9ebb93776ddfe Mon Sep 17 00:00:00 2001 From: Snailedlt <43886029+Snailedlt@users.noreply.github.com> Date: Mon, 31 Oct 2022 17:04:55 +0100 Subject: [PATCH 1/2] Add possibility to run check-bot by labeling a PR You can now run the check-bot by labeling a PR with 'feature:icon' --- .github/workflows/check_icon_pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_icon_pr.yml b/.github/workflows/check_icon_pr.yml index 6a57bab49..979b5245b 100644 --- a/.github/workflows/check_icon_pr.yml +++ b/.github/workflows/check_icon_pr.yml @@ -4,7 +4,10 @@ jobs: check: name: Check the `devicon.json` and the SVGs' quality runs-on: ubuntu-18.04 - if: startsWith(github.event.pull_request.title, 'new icon') || startsWith(github.event.pull_request.title, 'update icon') # only checks icon PR + if: | # only checks icon PR and when PR's are labeled with `feature:icon` + startsWith(github.event.pull_request.title, 'new icon') || + startsWith(github.event.pull_request.title, 'update icon') || + github.event.label.name == 'feature:icon' steps: - uses: actions/checkout@v2 From 25166234842490ec0126c03929d7f08b75117cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Kalsnes=20Hagen?= <43886029+Snailedlt@users.noreply.github.com> Date: Sat, 19 Nov 2022 14:34:54 +0100 Subject: [PATCH 2/2] Change label to bot:check --- .github/workflows/check_icon_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_icon_pr.yml b/.github/workflows/check_icon_pr.yml index 979b5245b..4253d4607 100644 --- a/.github/workflows/check_icon_pr.yml +++ b/.github/workflows/check_icon_pr.yml @@ -7,7 +7,7 @@ jobs: if: | # only checks icon PR and when PR's are labeled with `feature:icon` startsWith(github.event.pull_request.title, 'new icon') || startsWith(github.event.pull_request.title, 'update icon') || - github.event.label.name == 'feature:icon' + github.event.label.name == 'bot:check' steps: - uses: actions/checkout@v2