Skip to content

Commit

Permalink
create .github/workflows only when a github action is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fdiblen committed Aug 31, 2024
1 parent 55b80ed commit 758b28a
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 758b28a

Please sign in to comment.