diff --git a/.github/workflows/gitlab-ci.yml b/.github/workflows/gitlab-ci.yml index 88ee9cb3..f1c90728 100644 --- a/.github/workflows/gitlab-ci.yml +++ b/.github/workflows/gitlab-ci.yml @@ -13,6 +13,7 @@ on: [ push, pull_request, workflow_dispatch ] jobs: gitlab-ci: runs-on: ubuntu-latest + if: github.repository == 'pulp-platform/common_cells' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) steps: - name: Check Gitlab CI uses: pulp-platform/pulp-actions/gitlab-ci@v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/lint.yml similarity index 91% rename from .github/workflows/ci.yml rename to .github/workflows/lint.yml index d1fb7eb7..07984454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,5 @@ -name: ci -on: [push] +name: lint +on: [ push, pull_request, workflow_dispatch ] jobs: ################