From 601962d1b10c71aeaa7c084405e03af777200caf Mon Sep 17 00:00:00 2001 From: dOrgJelli Date: Tue, 18 Jul 2023 20:41:26 +0200 Subject: [PATCH] chore: ignore PRs from CD workflow --- .github/workflows/cd.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index b5238122..5af7f6cb 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -7,6 +7,9 @@ on: jobs: interface: + if: | + startsWith(github.event.pull_request.title, '[CD]') != true && + github.event.pull_request.user.login != 'github-actions' runs-on: ubuntu-latest timeout-minutes: 60 defaults: @@ -43,6 +46,9 @@ jobs: body: "Triggered by: https://github.com/${{github.repository}}/pull/${{github.event.number}}" getImplementations: + if: | + startsWith(github.event.pull_request.title, '[CD]') != true && + github.event.pull_request.user.login != 'github-actions' runs-on: ubuntu-latest outputs: matrix: ${{ env.matrix }} @@ -53,6 +59,9 @@ jobs: run: echo "matrix=$(./scripts/getImplementations.sh)" >> $GITHUB_ENV implementations-cd: + if: | + startsWith(github.event.pull_request.title, '[CD]') != true && + github.event.pull_request.user.login != 'github-actions' runs-on: ubuntu-latest needs: - interface