Skip to content

Commit b0900a9

Browse files
authored
Apply replace_registrator patch (#20)
1 parent a05f2c3 commit b0900a9

5 files changed

Lines changed: 35 additions & 12 deletions

File tree

.github/workflows/FormatCheck.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: "Format Check"
22
on:
3-
push:
4-
branches:
5-
- "main"
6-
tags: "*"
7-
pull_request: ~
3+
pull_request_target:
4+
types:
5+
- "opened"
6+
- "synchronize"
7+
- "reopened"
8+
- "ready_for_review"
9+
permissions:
10+
contents: "read"
11+
actions: "write"
12+
pull-requests: "write"
813
jobs:
914
format-check:
1015
name: "Format Check"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Format Pull Request"
2+
on:
3+
schedule:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch: ~
6+
permissions:
7+
contents: "write"
8+
pull-requests: "write"
9+
jobs:
10+
format-pull-request:
11+
name: "Format Pull Request"
12+
uses: "ITensor/ITensorActions/.github/workflows/FormatPullRequest.yml@main"

.github/workflows/Registrator.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
name: "Register Package"
22
on:
33
workflow_dispatch: ~
4-
pull_request:
5-
types:
6-
- "closed"
7-
paths:
8-
- "Project.toml"
4+
push:
95
branches:
106
- "master"
117
- "main"
8+
paths:
9+
- "Project.toml"
1210
permissions:
1311
contents: "write"
1412
pull-requests: "write"
1513
jobs:
1614
Register:
17-
if: "github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true"
1815
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
1916
with:
2017
localregistry: "ITensor/ITensorRegistry"

.github/workflows/VersionCheck.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: "Version Check"
2+
on:
3+
pull_request: ~
4+
jobs:
5+
version-check:
6+
name: "Version Check"
7+
uses: "ITensor/ITensorActions/.github/workflows/VersionCheck.yml@main"
8+
with:
9+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ITensorDocsNext"
22
uuid = "701fd796-f527-45da-9a53-2681c1a90c45"
3-
version = "0.1.6"
3+
version = "0.1.7"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[compat]

0 commit comments

Comments
 (0)