Skip to content

Commit fef588d

Browse files
committed
Merge branch 'main' into bp
2 parents 5b97af3 + 6f3521f commit fef588d

16 files changed

Lines changed: 190 additions & 145 deletions

.github/dependabot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
21
version: 2
32
updates:
43
- package-ecosystem: "github-actions"
5-
directory: "/" # Location of package manifests
4+
directory: "/"
65
schedule:
76
interval: "weekly"

.github/workflows/CompatHelper.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name: "CompatHelper"
2-
32
on:
43
schedule:
5-
- cron: '0 0 * * *'
6-
workflow_dispatch:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch: ~
76
permissions:
8-
contents: write
9-
pull-requests: write
10-
7+
contents: "write"
8+
pull-requests: "write"
119
jobs:
1210
compat-helper:
1311
name: "CompatHelper"
Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
name: "Documentation"
2-
32
on:
43
push:
54
branches:
6-
- main
7-
tags: '*'
8-
pull_request:
5+
- "main"
6+
tags: "*"
7+
pull_request: ~
98
schedule:
10-
- cron: '1 4 * * 4'
11-
9+
- cron: "1 4 * * 4"
1210
concurrency:
13-
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
15-
11+
group: "${{ github.workflow }}-${{ github.ref }}"
12+
cancel-in-progress: "${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}"
1613
jobs:
1714
build-and-deploy-docs:
1815
name: "Documentation"
1916
uses: "ITensor/ITensorActions/.github/workflows/Documentation.yml@main"
2017
with:
21-
localregistry: https://github.com/ITensor/ITensorRegistry.git
18+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
2219
secrets:
23-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
20+
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

.github/workflows/FormatCheck.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: "Format Check"
2-
32
on:
43
pull_request_target:
5-
paths: ['**/*.jl']
6-
types: [opened, synchronize, reopened, ready_for_review]
7-
4+
types:
5+
- "opened"
6+
- "synchronize"
7+
- "reopened"
8+
- "ready_for_review"
89
permissions:
9-
contents: read
10-
actions: write
11-
pull-requests: write
12-
10+
contents: "read"
11+
actions: "write"
12+
pull-requests: "write"
1313
jobs:
1414
format-check:
1515
name: "Format Check"

.github/workflows/FormatPullRequest.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name: "Format Pull Request"
2-
32
on:
43
schedule:
5-
- cron: '0 0 * * *'
6-
workflow_dispatch:
4+
- cron: "0 0 * * *"
5+
workflow_dispatch: ~
76
permissions:
8-
contents: write
9-
pull-requests: write
10-
7+
contents: "write"
8+
pull-requests: "write"
119
jobs:
1210
format-pull-request:
1311
name: "Format Pull Request"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "IntegrationTest"
2+
on:
3+
push:
4+
branches:
5+
- "main"
6+
tags: "*"
7+
paths:
8+
- "Project.toml"
9+
pull_request:
10+
types:
11+
- "opened"
12+
- "synchronize"
13+
- "reopened"
14+
- "ready_for_review"
15+
- "converted_to_draft"
16+
paths:
17+
- "Project.toml"
18+
jobs:
19+
integration-test:
20+
name: "IntegrationTest"
21+
strategy:
22+
matrix:
23+
pkg:
24+
- "__none__"
25+
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTest.yml@main"
26+
with:
27+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
28+
pkg: "${{ matrix.pkg }}"
29+
integration-gate:
30+
name: "IntegrationTest"
31+
needs: "integration-test"
32+
if: "${{ always() }}"
33+
runs-on: "ubuntu-latest"
34+
steps:
35+
- name: "Fail if any downstream integration test failed"
36+
run: |
37+
echo "integration-test.result = ${{ needs.integration-test.result }}"
38+
test "${{ needs.integration-test.result }}" = "success"
39+
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: "Integration Test Request"
2-
32
on:
43
issue_comment:
5-
types: [created]
6-
4+
types:
5+
- "created"
76
jobs:
87
integrationrequest:
98
if: |
109
github.event.issue.pull_request &&
1110
contains(fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association)
12-
uses: ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main
11+
12+
uses: "ITensor/ITensorActions/.github/workflows/IntegrationTestRequest.yml@main"
1313
with:
14-
localregistry: https://github.com/ITensor/ITensorRegistry.git
14+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: "Literate Check"
2-
32
on:
43
push:
54
branches:
6-
- 'main'
7-
tags: '*'
8-
pull_request:
9-
5+
- "main"
6+
tags: "*"
7+
pull_request: ~
108
jobs:
119
literate:
1210
name: "Literate Check"
1311
uses: "ITensor/ITensorActions/.github/workflows/LiterateCheck.yml@main"
1412
with:
15-
localregistry: https://github.com/ITensor/ITensorRegistry.git
13+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"

.github/workflows/Registrator.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
name: Register Package
1+
name: "Register Package"
22
on:
3-
workflow_dispatch:
3+
workflow_dispatch: ~
44
push:
55
branches:
6-
- 'master'
7-
- 'main'
6+
- "master"
7+
- "main"
88
paths:
9-
- 'Project.toml'
10-
9+
- "Project.toml"
1110
permissions:
12-
contents: write
13-
pull-requests: write
14-
11+
contents: "write"
12+
pull-requests: "write"
1513
jobs:
1614
Register:
1715
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
1816
with:
19-
localregistry: ITensor/ITensorRegistry
17+
localregistry: "ITensor/ITensorRegistry"
2018
secrets:
21-
REGISTRATOR_KEY: ${{ secrets.REGISTRATOR_KEY }}
19+
REGISTRATOR_KEY: "${{ secrets.REGISTRATOR_KEY }}"

.github/workflows/TagBot.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
name: TagBot
1+
name: "TagBot"
22
on:
33
issue_comment:
44
types:
5-
- created
5+
- "created"
66
workflow_dispatch:
77
inputs:
88
lookback:
99
default: "3"
1010
permissions:
11-
actions: read
12-
checks: read
13-
contents: write
14-
deployments: read
15-
issues: read
16-
discussions: read
17-
packages: read
18-
pages: read
19-
pull-requests: read
20-
repository-projects: read
21-
security-events: read
22-
statuses: read
11+
actions: "read"
12+
checks: "read"
13+
contents: "write"
14+
deployments: "read"
15+
issues: "read"
16+
discussions: "read"
17+
packages: "read"
18+
pages: "read"
19+
pull-requests: "read"
20+
repository-projects: "read"
21+
security-events: "read"
22+
statuses: "read"
2323
jobs:
2424
TagBot:
25-
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
26-
runs-on: ubuntu-latest
25+
if: "github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'"
26+
runs-on: "ubuntu-latest"
2727
steps:
28-
- uses: JuliaRegistries/TagBot@v1
28+
- uses: "JuliaRegistries/TagBot@v1"
2929
with:
30-
token: ${{ secrets.GITHUB_TOKEN }}
31-
ssh: ${{ secrets.DOCUMENTER_KEY }}
30+
token: "${{ secrets.GITHUB_TOKEN }}"
31+
ssh: "${{ secrets.DOCUMENTER_KEY }}"

0 commit comments

Comments
 (0)