Skip to content

Commit

Permalink
Merge branch 'master' into DYN-6009-Extended-Node-Help-Missing3
Browse files Browse the repository at this point in the history
  • Loading branch information
avidit authored Nov 1, 2023
2 parents b2372b1 + 261e50e commit 813e7f3
Show file tree
Hide file tree
Showing 407 changed files with 28,122 additions and 3,855 deletions.
12 changes: 6 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!--
Please Note:
1. Before submitting the PR, please review [How to Contribute to Dynamo](https://github.com/DynamoDS/Dynamo/blob/master/CONTRIBUTING.md)
2. Dynamo Team will meet 1x a month to review PRs found on Github (Issues will be handled separately)
Expand All @@ -6,11 +7,11 @@ Please Note:
5. PRs should use either Dynamo's default PR template or [one of these other template options](https://github.com/DynamoDS/Dynamo/wiki/Choosing-a-Pull-Request-Template) in order to be considered for review.
6. PRs that do not have one of the Dynamo PR templates completely filled out with all declarations satisfied will not be reviewed by the Dynamo team.
7. PRs made to the `DynamoRevit` repo will need to be cherry-picked into all the DynamoRevit Release branches that Dynamo supports. Contributors will be responsible for cherry-picking their reviewed commits to the other branches after a `LGTM` label is added to the PR.
-->

### Purpose

(FILL ME IN) This section describes why this PR is here. Usually it would include a reference
to the tracking task that it is part or all of the solution for.
(FILL ME IN) This section describes why this PR is here. Usually it would include a reference to the tracking task that it is part or all of the solution for.

### Declarations

Expand All @@ -24,16 +25,15 @@ Check these if you believe they are true
- [ ] Snapshot of UI changes, if any.
- [ ] Changes to the API follow [Semantic Versioning](https://github.com/DynamoDS/Dynamo/wiki/Dynamo-Versions) and are documented in the [API Changes](https://github.com/DynamoDS/Dynamo/wiki/API-Changes) document.
- [ ] This PR modifies some build requirements and the readme is updated
- [ ] This PR contains no files larger than 50 MB
- [ ] This PR contains no files larger than 50 MB

### Release Notes

(FILL ME IN) Brief description of the fix / enhancement. **Mandatory section**

(FILL ME IN) Brief description of the fix / enhancement. **Mandatory section**

### Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)
(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

Expand Down
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: ".github/workflows"
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/Issues_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
result: ${{env.content_analysis_response}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

#Detect if the issue_title follows the regex expression
- name: Check Issue Title
Expand All @@ -37,7 +37,7 @@ jobs:
#Remove the " character in the issue title and replaced with -
- name: Remove conflicting chars
uses: frabert/replace-string-action@v1.2
uses: frabert/replace-string-action@v2.4
id: remove_quotations
with:
pattern: "\""
Expand Down Expand Up @@ -107,13 +107,13 @@ jobs:
acceptable_missing_info: 1
steps:
#Checkout the repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

#Removes conflicting characters before using the issue content as a script parameter
- name: Remove conflicting chars
env:
ISSUE_BODY: ${{github.event.issue.body}}
uses: frabert/replace-string-action@v1.2
uses: frabert/replace-string-action@v2.4
id: remove_quotations
with:
pattern: "\""
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR_merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Getting PR information from the commit SHA
- name: Getting PR information
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_file_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get changed files
id: get_changed_files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v40
- name: Check file size
run: |
for file in ${{ steps.get_changed_files.outputs.all_changed_files }}; do
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/close_stale_issues.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/close_stale_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Close stale issues

on:
schedule:
- cron: '0 0 * * *'

jobs:
close_stale_issues:
name: Close stale issues
runs-on: ubuntu-latest
steps:
- name: Close Issues
id: close_issues
uses: actions/stale@v8
with:
days-before-stale: 30
days-before-close: 0
only-labels: needs more info
close-issue-message: Given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further.
- name: Summary
run: |
echo "# Closed Issues" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.close_issues.outputs.closed-issues-prs }}" >> $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: Dynamo
repository: DynamoDS/Dynamo
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/dynamoAllNet6.0_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Dynamo Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: Dynamo
repository: DynamoDS/Dynamo
Expand All @@ -31,3 +31,10 @@ jobs:
cd "$Env:GITHUB_WORKSPACE\Dynamo\bin\AnyCPU\Release"
echo "***Locating DynamoCLI for Windows!***"
test ".\DynamoCLI.exe" && echo "DynamoCLI exists!"
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: DynamoSandbox
path: ${{ github.workspace }}\Dynamo\bin\AnyCPU\Release
if-no-files-found: warn
retention-days: 3
4 changes: 2 additions & 2 deletions .github/workflows/dynamoBinDiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Dynamo Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: net60_Win_Dynamo
repository: DynamoDS/Dynamo
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Dynamo Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master
path: master_net60_Win_Dynamo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dynamoNet6.0_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Dynamo Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: Dynamo
repository: DynamoDS/Dynamo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dynamoNet6.0_linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Dynamo Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: Dynamo
- name: Setup dotnet
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v1.0.0
uses: metcalfc/changelog-generator@v4.1.0
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
head-ref: ${{ github.event.inputs.head-ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/issue_type_predicter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
acceptable_missing_info: 1
steps:
#Removes conflicting characters before using the issue content as a script parameter
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Remove conflicting chars
env:
ISSUE_BODY: ${{github.event.issue.body}}
uses: frabert/replace-string-action@v1.2
uses: frabert/replace-string-action@v2.4
id: remove_quotations
with:
pattern: "\""
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
#Now checkout the IssuesTypePredicter source code from the repo https://github.com/DynamoDS/IssuesTypePredicter
- name: Checkout IssuesTypePredicter
if: env.analysis_response == 'Valid'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: DynamoDS/IssuesTypePredicter
path: IssuesTypePredicter
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/move_issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,43 @@ env:
gh_organization: DynamoDS
gh_token: ${{ secrets.DYNAMO_ISSUES_TOKEN }}
project_id: 4
project_name: 'Dynamo Issues'

jobs:
issue_labeled_as_revit:
name: Transfer issue labeled as 'Revit'
runs-on: ubuntu-latest
if: github.event.label.name == 'Revit'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Transfer issue to DynamoRevit Repository
run: gh issue transfer ${{ github.event.issue.number }} DynamoDS/DynamoRevit
run: |
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}"
gh issue transfer ${{ github.event.issue.number }} DynamoDS/DynamoRevit
env:
GITHUB_TOKEN: ${{ env.gh_token }}
issue_labeled_as_dynamo_advance_steel:
name: Transfer issue labeled as 'Advance-Steel'
runs-on: ubuntu-latest
if: github.event.label.name == 'Advance-Steel'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Transfer issue to Dynamo-Advance-Steel Repository
run: gh issue transfer ${{ github.event.issue.number }} DynamoDS/Dynamo-Advance-Steel
run: |
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}"
gh issue transfer ${{ github.event.issue.number }} DynamoDS/Dynamo-Advance-Steel
env:
GITHUB_TOKEN: ${{ env.gh_token }}
issue_labeled_as_wishlist:
name: Transfer issue labeled as 'Wishlist'
runs-on: ubuntu-latest
if: github.event.label.name == 'Wishlist'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Transfer issue to DynamoWishlist Repository
run: gh issue transfer ${{ github.event.issue.number }} DynamoDS/DynamoWishlist
run: |
gh issue edit ${{ github.event.issue.number }} --remove-project "${{ env.project_name }}"
gh issue transfer ${{ github.event.issue.number }} DynamoDS/DynamoWishlist
env:
GITHUB_TOKEN: ${{ env.gh_token }}
issue_labeled_as_tracked:
Expand All @@ -62,7 +69,7 @@ jobs:
if: github.event.label.name == 'tracked'
steps:
- name: Move tracked issue to Todo
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
uses: leonsteinhaeuser/project-beta-automations@v2.2.1
with:
gh_token: ${{ env.gh_token }}
organization: ${{ env.gh_organization }}
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Test

on:
workflow_run:
workflows:
- DynamoAllNet6.0-Build
types:
- completed

env:
TEST_EXECUTE_DOWNLOAD_URL: https://downloads.smartbear.com/TestExecute1552SLM.exe

jobs:
ui_smoke_tests:
name: UI Smoke Tests
timeout-minutes: 60
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: DynamoDS/DynamoTestCompleteTests
token: ${{ secrets.DYNAMO_TESTS_TOKEN }}
ref: master
- name: Download TestExecute
run: Invoke-WebRequest -Uri "${{ env.TEST_EXECUTE_DOWNLOAD_URL }}" -OutFile ".\TE.exe"
- name: Install TestExecute
shell: cmd
run: .\TE.exe -SilentInstall
- name: Download Artifact
uses: dawidd6/action-download-artifact@v2
with:
name: DynamoSandbox
workflow: ${{ github.event.workflow_run.workflow_id }}
path: ${{ github.workspace }}\build
- name: Run Tests
shell: cmd
run: .github\scripts\run_tests.bat ${{ secrets.TEST_EXECUTE_ACCESS_KEY }} Dynamo\Dynamo.pjs DynamoSandbox SmokeTests
- name: UI Smoke Tests Report
uses: dorny/[email protected]
if: always()
with:
name: UI Smoke Test Report
path: reports/report.xml
reporter: java-junit
- name: Action Summary
if: always()
run: |
type summary.md | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append
echo "" >> $GITHUB_STEP_SUMMARY
echo ":package: Trigerred by: [${{ github.event.workflow_run.name }}](${{ github.event.workflow_run.html_url }})" >> $env:GITHUB_STEP_SUMMARY
Loading

0 comments on commit 813e7f3

Please sign in to comment.