From 14a529f412f48f08f6f8179c2ba121ef7f0fb741 Mon Sep 17 00:00:00 2001 From: Thibaut Vandervelden Date: Tue, 15 Jul 2025 12:35:53 +0200 Subject: [PATCH] fix(ci): add condition to check if issue/pr part 2 --- .github/workflows/bot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 9ed04fa2..eacc45e4 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -46,7 +46,7 @@ jobs: server: "matrix.org" new-issue: - if: github.event.action == 'opened' && github.repository == 'dot15d4-rs/dot15d4' && !contains(github.event.issue.html_url, '/pull/') + if: github.event.action == 'opened' && github.repository == 'dot15d4-rs/dot15d4' && github.event.issue.pull_request == null runs-on: ubuntu-latest continue-on-error: true steps: @@ -59,7 +59,7 @@ jobs: server: "matrix.org" closed-issue: - if: github.event.action == 'closed' && github.repository == 'dot15d4-rs/dot15d4' && !contains(github.event.issue.html_url, '/pull/') + if: github.event.action == 'closed' && github.repository == 'dot15d4-rs/dot15d4' && github.event.issue.pull_request == null runs-on: ubuntu-latest continue-on-error: true steps: