From 943e760b8e75f819beb5b4405b61c256862edfc4 Mon Sep 17 00:00:00 2001 From: Craig <3979063+craig8@users.noreply.github.com> Date: Wed, 11 Jan 2023 12:02:34 -0800 Subject: [PATCH 1/3] Add auto assign and issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 31 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 +++++++++++++++ .github/workflows/auto-assign-project.yml | 22 ++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/workflows/auto-assign-project.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..bc18a32 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Operating System (please complete the following information):** + - OS: [e.g. iOS] + - Volttron Version [develop, releases/8.2, main] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bbcbbe7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/auto-assign-project.yml b/.github/workflows/auto-assign-project.yml new file mode 100644 index 0000000..8d30644 --- /dev/null +++ b/.github/workflows/auto-assign-project.yml @@ -0,0 +1,22 @@ +name: Add bugs to bugs project + +on: + issues: + types: + - opened + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.3.0 + with: + # You can target a repository in a different organization + # to the issue + project-url: https://github.com/orgs/eclipse-volttron/projects/3 + # project-url: https://github.com/orgs//projects/ + # github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + github-token: ${{ secrets.AUTO_ASSIGN_PAT }} + # labeled: bug, needs-triage + # label-operator: OR From 9ed98a9eb37904073c9baec228e881e211b93489 Mon Sep 17 00:00:00 2001 From: Craig <3979063+craig8@users.noreply.github.com> Date: Thu, 12 Jan 2023 12:56:52 -0800 Subject: [PATCH 2/3] Update auto-assign-project.yml --- .github/workflows/auto-assign-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assign-project.yml b/.github/workflows/auto-assign-project.yml index 8d30644..f5e2592 100644 --- a/.github/workflows/auto-assign-project.yml +++ b/.github/workflows/auto-assign-project.yml @@ -14,7 +14,7 @@ jobs: with: # You can target a repository in a different organization # to the issue - project-url: https://github.com/orgs/eclipse-volttron/projects/3 + project-url: https://github.com/orgs/GRIDAPPSD/projects/7 # project-url: https://github.com/orgs//projects/ # github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} github-token: ${{ secrets.AUTO_ASSIGN_PAT }} From 528f9ea762ec7a4108574e5070cb27a1e6e28c72 Mon Sep 17 00:00:00 2001 From: "C. Allwardt" <3979063+craig8@users.noreply.github.com> Date: Thu, 1 Jun 2023 09:17:27 -0700 Subject: [PATCH 3/3] Add release workflow for develop --- .github/workflows/deploy-dev-release.yml | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/deploy-dev-release.yml diff --git a/.github/workflows/deploy-dev-release.yml b/.github/workflows/deploy-dev-release.yml new file mode 100644 index 0000000..7f839ef --- /dev/null +++ b/.github/workflows/deploy-dev-release.yml @@ -0,0 +1,29 @@ +--- + name: Deploy Pre-Release Artifacts + + on: + push: + branches: + - develop + workflow_dispatch: + + defaults: + run: + shell: bash + + env: + LANG: en_US.utf-8 + LC_ALL: en_US.utf-8 + PYTHON_VERSION: '3.10' + + jobs: + call-deploy-release: + permissions: + contents: write # To push a branch + pull-requests: write # To create a PR from that branch + + uses: GRIDAPPSD/.github/.github/workflows/deploy-dev-release.yml@main + secrets: + git-token: ${{ secrets.GITHUB_TOKEN }} + pypi-token: ${{ secrets.PYPI_TOKEN }} + \ No newline at end of file