diff --git a/.github/workflows/dev-ci.yml b/.github/workflows/dev-ci.yml index 43a0fa49..7efaa317 100644 --- a/.github/workflows/dev-ci.yml +++ b/.github/workflows/dev-ci.yml @@ -1,4 +1,4 @@ -name: CI +name: Dev CI # For development, use the following instead: on: [pull_request] @@ -64,7 +64,7 @@ jobs: preview: # This job is triggered by from PR from the aiida-registry repo, the developer of aiida-registry need to see the preview page of the PR needs: [test-webpage-build, get-pr] - if: github.repository == 'aiidateam/aiida-registry' + if: "! github.event.pull_request.head.repo.fork " runs-on: ubuntu-latest strategy: fail-fast: false diff --git a/.github/workflows/plugin-ci.yml b/.github/workflows/plugin-ci.yml index 246d646c..160ff7b2 100644 --- a/.github/workflows/plugin-ci.yml +++ b/.github/workflows/plugin-ci.yml @@ -1,4 +1,4 @@ -name: CI +name: Plugin CI on: pull_request_target: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 667aa6ba..be1ecba4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.4.2 + rev: v0.4.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes]