Skip to content

Commit

Permalink
chore: updated ci job conditions [skip-release]
Browse files Browse the repository at this point in the history
  • Loading branch information
freb97 committed Aug 19, 2024
1 parent cd9f64d commit eaa8e01
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
runs-on: ubuntu-latest
if: |
github.event_name == 'push' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.ref, 'refs/heads/renovate/')
!contains(github.event.head_commit.message, '/renovate/') &&
!contains(github.event.head_commit.message, '[skip-release]')
steps:
- uses: actions/checkout@v4
Expand All @@ -63,10 +63,8 @@ jobs:
needs: [ test ]
runs-on: ubuntu-latest
if: |
github.event_name == 'pull_request' &&
github.event.action == 'closed' &&
github.event.pull_request.merged == true &&
startsWith(github.event.pull_request.head.ref, 'renovate/')
github.event_name == 'push' &&
contains(github.event.head_commit.message, '/renovate/')
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit eaa8e01

Please sign in to comment.