Skip to content

Commit eb1d441

Browse files
authored
Modify FormatPullRequest.yml to allow for format comments, rename templates/ to template/ (#110)
1 parent 45779eb commit eb1d441

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+10
-2
lines changed

.github/workflows/FormatPullRequest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ on:
33
schedule:
44
- cron: "0 0 * * *"
55
workflow_dispatch: ~
6+
issue_comment:
7+
types:
8+
- "created"
69
permissions:
710
contents: "write"
811
pull-requests: "write"
912
jobs:
1013
format-pull-request:
1114
name: "Format Pull Request"
1215
uses: "ITensor/ITensorActions/.github/workflows/FormatPullRequest.yml@main"
16+
secrets: "inherit"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ITensorPkgSkeleton"
22
uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea"
3-
version = "0.3.34"
3+
version = "0.3.35"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]

src/ITensorPkgSkeleton.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function format_downstreampkgs(user_replacements)
102102
end
103103

104104
const TEMPLATE_EXT = ".template"
105-
const TEMPLATE_ROOT = joinpath(pkgdir(ITensorPkgSkeleton), "templates")
105+
const TEMPLATE_ROOT = joinpath(pkgdir(ITensorPkgSkeleton), "template")
106106
const TEMPLATE_PATHS = Dict(
107107
"benchmark" => ["benchmark"],
108108
"docs" => ["docs", "README.md"],

templates/.github/ISSUE_TEMPLATE/BUG_REPORT.md.template renamed to template/.github/ISSUE_TEMPLATE/BUG_REPORT.md.template

File renamed without changes.

templates/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md.template renamed to template/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md.template

File renamed without changes.
File renamed without changes.
File renamed without changes.

templates/.github/workflows/Documentation.yml.template renamed to template/.github/workflows/Documentation.yml.template

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)