diff --git a/.github/workflows/IntegrationTestRequest.yml b/.github/workflows/IntegrationTestRequest.yml new file mode 100644 index 00000000..d42fccaa --- /dev/null +++ b/.github/workflows/IntegrationTestRequest.yml @@ -0,0 +1,14 @@ +name: "Integration Test Request" + +on: + issue_comment: + types: [created] + +jobs: + integrationrequest: + if: | + github.event.issue.pull_request && + contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association) + uses: ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main + with: + localregistry: https://github.com/ITensor/ITensorRegistry.git diff --git a/.github/workflows/Register.yml b/.github/workflows/Register.yml deleted file mode 100644 index 5b7cd3b3..00000000 --- a/.github/workflows/Register.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Register Package -on: - workflow_dispatch: - inputs: - version: - description: Version to register or component to bump - required: true -jobs: - register: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - uses: julia-actions/RegisterAction@latest - with: - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/Registrator.yml b/.github/workflows/Registrator.yml new file mode 100644 index 00000000..ac01aa1a --- /dev/null +++ b/.github/workflows/Registrator.yml @@ -0,0 +1,17 @@ +name: Register Package +on: + workflow_dispatch: + pull_request: + types: + - closed + paths: + - 'Project.toml' + branches: + - 'master' + - 'main' +jobs: + Register: + if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true + uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main" + with: + localregistry: ITensor/ITensorRegistry diff --git a/LICENSE b/LICENSE index 7f5c8c63..89cf357f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 ITensor developers +Copyright (c) 2025 ITensor developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/make.jl b/docs/make.jl index 18b0932c..24b02e2d 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -22,7 +22,7 @@ makedocs(; edit_link="main", assets=String[], ), - pages=["Home" => "index.md", "Library" => "library.md"], + pages=["Home" => "index.md", "Reference" => "reference.md"], ) deploydocs(; diff --git a/docs/src/library.md b/docs/src/reference.md similarity index 80% rename from docs/src/library.md rename to docs/src/reference.md index 63af0e85..dcededa1 100644 --- a/docs/src/library.md +++ b/docs/src/reference.md @@ -1,4 +1,4 @@ -# Library +# Reference ```@autodocs Modules = [BlockSparseArrays]