Skip to content

Commit

Permalink
chore: ignore PRs from CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dOrgJelli committed Jul 18, 2023
1 parent bc80c52 commit 601962d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 601962d

Please sign in to comment.