diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml index 8196837..2f09ece 100644 --- a/.github/workflows/FormatCheck.yml +++ b/.github/workflows/FormatCheck.yml @@ -1,10 +1,6 @@ name: "Format Check" on: - push: - branches: - - 'main' - tags: '*' pull_request: permissions: diff --git a/Project.toml b/Project.toml index b28a0a2..b332d45 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensorPkgSkeleton" uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea" authors = ["ITensor developers and contributors"] -version = "0.3.19" +version = "0.3.20" [deps] DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" diff --git a/templates/github/.github/workflows/FormatCheck.yml b/templates/github/.github/workflows/FormatCheck.yml index 0b6c619..fce3667 100644 --- a/templates/github/.github/workflows/FormatCheck.yml +++ b/templates/github/.github/workflows/FormatCheck.yml @@ -1,18 +1,14 @@ name: "Format Check" +on: + pull_request: + permissions: contents: read checks: write issues: write pull-requests: write -on: - push: - branches: - - 'main' - tags: '*' - pull_request: - jobs: format-check: name: "Format Check"