-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
24,784 additions
and
16,649 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: "Bug Report" | ||
description: Report a bug or unexpected behavior encountered. | ||
labels: | ||
- bug | ||
body: | ||
- type: "input" | ||
id: "version" | ||
attributes: | ||
label: Which node-red-contrib-iiot-opcua version are you using? | ||
description: | | ||
Please check the `package.json` file in your Node-RED data directory (default: `$HOME/.node-red/`). | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: descriptions | ||
attributes: | ||
label: What happened? | ||
description: | | ||
Please provide a clear and thorough description of what happened. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: server | ||
attributes: | ||
label: Server | ||
description: | | ||
Which type of OPC UA Server are you connected to? | ||
multiple: false | ||
options: | ||
- OPCUA-IIoT-Server Node | ||
- OPCUA-IIoT-Flex-Server Node (Please attach AddressSpaceScript to the next section) | ||
- Other/External server | ||
- None/This is related to a node that doesn't connect to a server | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduction | ||
attributes: | ||
label: How can this be reproduced? | ||
description: | | ||
Please provide a step-by-step description of how to reproduce this behavior. | ||
Please attach relevant flows as a `.json` file. (In the top-right menu, click `Export`) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: What did you expect to happen? | ||
description: | | ||
Describe the expected behavior and how the actual behavior differed. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: other | ||
attributes: | ||
label: Other Information | ||
description: | | ||
Please provide any other information you feel is relevant, such as Node-RED or NodeJS versions. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "Feature Request" | ||
description: Request a new feature | ||
labels: | ||
- feature | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the requested feature | ||
description: | | ||
Describe the feature you would like to see added. | ||
Feel free to attach diagrams or screenshots. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: motivation | ||
attributes: | ||
label: Motivation | ||
description: | | ||
Describe why you would like to see this feature or the use-case for the feature. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' | ||
directory: '/' | ||
target-branch: "develop" | ||
schedule: | ||
interval: "weekly" | ||
allow: | ||
- dependency-type: "production" | ||
ignore: | ||
- dependency-name: "modbus*" | ||
- dependency-name: "*modbus*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Build and publish | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
push: | ||
branches: | ||
- develop | ||
- development | ||
- alpha | ||
- beta | ||
- master | ||
- main | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
node: [12, 14, 16, 18] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: npm install | ||
- run: npm run build | ||
- run: tar -czvf distrib.tar.gz modbus examples extras package.json docs index.js README.md CHANGELOG.md | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-folders | ||
path: distrib.tar.gz | ||
|
||
publish: | ||
runs-on: ubuntu-20.04 | ||
needs: build | ||
if: github.ref == 'refs/heads/master' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: npm install | ||
- uses: JS-DevTools/npm-publish@v1 | ||
with: | ||
token: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "Greet Contributors" | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
GreetCommitter: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Greet Contributor" | ||
uses: ibakshay/greet-contributors-action@v3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Snyk Vulnerability Analysis" | ||
on: | ||
push: | ||
branches: | ||
- 6-additional-github-actions | ||
- main | ||
pull_request: | ||
types: | ||
- synchronize | ||
- opened | ||
jobs: | ||
snyk: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run Snyk vulnerability scan | ||
uses: snyk/actions/node@master | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
with: | ||
command: monitor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. It will be closed in 30 days, but can be saved by removing the stale label or commenting.' | ||
days-before-stale: 60 | ||
days-before-close: 30 |
Oops, something went wrong.