Skip to content

Commit ca769ad

Browse files
committed
Switch CompatHelper over to using ITensorActions
1 parent 80a8242 commit ca769ad

File tree

1 file changed

+8
-26
lines changed

1 file changed

+8
-26
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,14 @@
1-
name: CompatHelper
1+
name: "CompatHelper"
2+
23
on:
34
schedule:
45
- cron: 0 0 * * *
56
workflow_dispatch:
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
611
jobs:
712
CompatHelper:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16-
shell: julia --color=yes {0}
17-
run: |
18-
using CompatHelper
19-
using Pkg
20-
registries = [
21-
Pkg.RegistrySpec(
22-
name = "General",
23-
uuid = "23338594-aafe-5451-b93e-139f81909106",
24-
url = "https://github.com/JuliaRegistries/General.git",
25-
),
26-
Pkg.RegistrySpec(
27-
name = "ITensorRegistry",
28-
uuid = "c4d53e37-7e0e-4be9-ba6f-c27e01f48020",
29-
url = "https://github.com/ITensor/ITensorRegistry.git",
30-
),
31-
]
32-
CompatHelper.main(; registries)
13+
name: "CompatHelper"
14+
uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@main"

0 commit comments

Comments
 (0)