Skip to content

Commit 0e27705

Browse files
committed
Merge branch 'develop'
# Conflicts: # .github/workflows/PublishRelease.yml # Readme.md # build/Modules/PublishNugetModule.cs
2 parents fc8c401 + 6e60131 commit 0e27705

59 files changed

Lines changed: 2726 additions & 542 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: 🐛 Bug report
2+
description: Report errors or unexpected behavior
3+
labels:
4+
- bug 🐛
5+
- needs triage 🔍
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: Please make sure to [search for existing issues](https://github.com/Nice3point/RevitExtensions/issues?q=) before filing a new one!
10+
11+
- type: textarea
12+
attributes:
13+
label: Steps to reproduce
14+
description: We highly suggest including screenshots
15+
placeholder: |
16+
1. Create a new Wall element in the document
17+
2. Call wall.CanBeDeleted() extension method
18+
3. Check the returned result
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
attributes:
24+
label: ✔️ Expected Behavior
25+
placeholder: What were you expecting?
26+
validations:
27+
required: false
28+
29+
- type: textarea
30+
attributes:
31+
label: ❌ Actual Behavior
32+
placeholder: What happened instead?
33+
validations:
34+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 📃 Documentation Issue
2+
description: Report issues in our documentation
3+
title: "[Documentation]: "
4+
labels:
5+
- documentation 📃
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Provide a description of requested docs changes
10+
description: Briefly describe which document needs to be corrected and why
11+
placeholder: |
12+
Document: [e.g., Installation Guide, API Reference]
13+
Issue: [What's wrong or missing?]
14+
Suggested fix: [How should it be corrected?]
15+
- type: dropdown
16+
attributes:
17+
label: Type of documentation issue
18+
options:
19+
- Incorrect information
20+
- Missing information
21+
- Typo or formatting
22+
- Outdated content
23+
- New documentation needed
24+
validations:
25+
required: true
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 💡 Feature or enhancement request
2+
description: Propose something new
3+
labels:
4+
- feature request 📬
5+
- needs triage 🔍
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Description of the new feature / enhancement
10+
placeholder: What is the expected behavior of the proposed feature?
11+
validations:
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: Scenario when this would be used?
16+
placeholder: |
17+
Describe a specific use case:
18+
- What problem does this solve?
19+
- Why is this important to your workflow?
20+
validations:
21+
required: true
22+
- type: dropdown
23+
attributes:
24+
label: Priority
25+
description: How important is this feature for you?
26+
options:
27+
- Critical (blocking work)
28+
- High (significant impact)
29+
- Medium (nice to have)
30+
- Low (future consideration)
31+
validations:
32+
required: false
33+
- type: markdown
34+
attributes:
35+
value: Please limit one request per issue.

.github/pull_request_template.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Summary of the Pull Request
2+
3+
**What is this about:**
4+
5+
**Description:**
6+
7+
## Quality Checklist
8+
9+
- [ ] My code follows the style guidelines of this project
10+
- [ ] I have performed a self-review of my own code
11+
- [ ] I have made corresponding changes to the documentation
12+
- [ ] My changes generate no new warnings

.github/workflows/Compile.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,19 @@ jobs:
1313
steps:
1414

1515
- name: Checkout
16-
uses: actions/checkout@v5
17-
18-
- name: Setup .NET 10.0.x SDK
19-
uses: actions/setup-dotnet@v5
16+
uses: actions/checkout@v6
2017
with:
21-
dotnet-version: 10.0.x
22-
23-
- name: Cache NuGet
24-
uses: actions/cache@v4
18+
fetch-depth: 0
19+
20+
- name: Cache packages
21+
uses: actions/cache@v5
2522
with:
2623
path: ~/.nuget/packages
2724
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', 'Directory.Build.props', 'Directory.Packages.props') }}
2825
restore-keys: ${{ runner.os }}-nuget-
29-
26+
3027
- name: Compile solution
3128
run: dotnet run -c Release
3229
working-directory: "build"
3330
env:
34-
DOTNET_ENVIRONMENT: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Development' }}
31+
DOTNET_ENVIRONMENT: ${{ github.ref_name == 'main' && 'Production' || 'Development' }}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Release
1+
name: Publish release
22

33
on:
44
push:
@@ -12,25 +12,22 @@ jobs:
1212
steps:
1313

1414
- name: Checkout
15-
uses: actions/checkout@v5
16-
17-
- name: Setup .NET 10.0.x SDK
18-
uses: actions/setup-dotnet@v5
15+
uses: actions/checkout@v6
1916
with:
20-
dotnet-version: 10.0.x
17+
fetch-depth: 0
2118

22-
- name: Cache NuGet
23-
uses: actions/cache@v4
19+
- name: Cache packages
20+
uses: actions/cache@v5
2421
with:
2522
path: ~/.nuget/packages
2623
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', 'Directory.Build.props', 'Directory.Packages.props') }}
2724
restore-keys: ${{ runner.os }}-nuget-
2825

29-
- name: Publish packages
26+
- name: Publish release
3027
run: dotnet run -c Release -- pack publish
3128
working-directory: "build"
3229
env:
3330
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
DOTNET_ENVIRONMENT: "Production"
31+
DOTNET_ENVIRONMENT: ${{ (github.ref_name == 'main' || github.ref_type == 'tag') && 'Production' || 'Development' }}
3532
Publish__Version: ${{ github.ref_name }}
3633
NuGet__ApiKey: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)