Skip to content

Commit

Permalink
Merge pull request #653 from NLeSC/567-github-folder
Browse files Browse the repository at this point in the history
create .github/workflows only when a github action is enabled
  • Loading branch information
fdiblen committed Sep 2, 2024
2 parents 55b80ed + 758b28a commit 12f3a0f
Show file tree
Hide file tree
Showing 17 changed files with 24 additions and 4 deletions.
12 changes: 8 additions & 4 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,25 @@
!include copier/questions/package_details.yml

---
# code quality
# code quality features
!include copier/questions/features_code_quality.yml

---
# publish and release
# publish and release features
!include copier/questions/features_publish_release.yml

---
# publish and release
# publish and release features
!include copier/questions/features_documentation.yml

---
# community
# community features
!include copier/questions/features_community.yml

---
# global flags
!include copier/global_flags.yml

---
# User messages
!include copier/messages.yml
16 changes: 16 additions & 0 deletions copier/global_flags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
# Computed values that depend on multiple values

HasWorkflows:
type: bool
default: "{{
AddGitHubActionBuild
or AddGitHubActionDocumentation
or AddLinkCheck
or AddCFFConvert
or AddCitation
or AddOnlineDocumentation
or AddSonarCloud
or AddZenodo
or AddLinting }}"
when: false

0 comments on commit 12f3a0f

Please sign in to comment.