diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 883ff80b..e855a01e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: jobs: ci: + if: github.event_name == 'push' && !contains(github.ref_name, 'renovate') || contains(github.event.pull_request.labels.*.name, 'ready') || (github.event_name == 'pull_request' && !contains(github.event.pull_request.head.ref, 'renovate')) runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/renovate-app-version.yml b/.github/workflows/renovate-app-version.yml index b93e4831..40c68dd7 100644 --- a/.github/workflows/renovate-app-version.yml +++ b/.github/workflows/renovate-app-version.yml @@ -2,7 +2,6 @@ name: Update app version in Renovate Branches on: pull_request: - branches: ["renovate/*"] types: - labeled - opened @@ -15,6 +14,7 @@ on: jobs: update-app-version: + if: github.event_name == 'pull_request' && contains(github.event.pull_request.head.ref, 'renovate') runs-on: ubuntu-latest steps: - name: Checkout