From 3c39a2088387fae3a85a3906f0f7d3e5bbf8a913 Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Thu, 9 Jun 2022 14:45:54 +0200 Subject: [PATCH 1/3] Add concurrency to workflows so that a new commit to a PR or a new push to a tagged branch runs the workflow while cancelling the already running ones for the same workflow and PR/tag. --- .github/workflows/ci.yml | 4 ++++ .github/workflows/style.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 967192e5a92..e4ba452ff31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ on: - master - "release*" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: PYANSYS_OFF_SCREEN: True DPF_PORT: 32772 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 37c1c3922a4..d63a314fab6 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -12,6 +12,10 @@ on: - master - "release*" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-20.04 From 7aa5d4f9d21e72b3718d4a3798ae3bc698cb1c85 Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Thu, 9 Jun 2022 14:48:17 +0200 Subject: [PATCH 2/3] Add back the feature issue template --- .github/ISSUE_TEMPLATE/feature.yml | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature.yml diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml new file mode 100644 index 00000000000..a49252ca502 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -0,0 +1,43 @@ +name: 💡 New feature +description: Enhancements to the code +title: "Add ..." +labels: ["enhancement"] +assignees: [""] + +body: + + - type: markdown + attributes: + value: '# 📝 **New Feature**' + + - type: textarea + id: feature-description + attributes: + label: Description of the feature + placeholder: Describe what feature you devised and why it is useful for the project + validations: + required: true + + - type: markdown + attributes: + value: '# 💡 **Implementation**' + + - type: textarea + id: implementation-description + attributes: + label: Steps for implementing the feature + placeholder: Describe how this new feature can be implemented + validations: + required: true + + - type: markdown + attributes: + value: '# 🔗 **References**' + + - type: textarea + id: references + attributes: + label: Useful links and references + placeholder: A list of links and references to help when implementing the feature + validations: + required: false \ No newline at end of file From 14c981ddcba85b2bd81c7ac10f61700767de1a2b Mon Sep 17 00:00:00 2001 From: "paul.profizi" Date: Thu, 9 Jun 2022 14:52:12 +0200 Subject: [PATCH 3/3] Steps for implementing the feature is no longer required. --- .github/ISSUE_TEMPLATE/feature.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index a49252ca502..9c9b87b7cd8 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -28,7 +28,7 @@ body: label: Steps for implementing the feature placeholder: Describe how this new feature can be implemented validations: - required: true + required: false - type: markdown attributes: