From 3d4b0c0e25907f6f4edf1450ed66366b4610ef57 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins <matiss@mja.lv> Date: Mon, 1 May 2023 20:37:54 +0100 Subject: [PATCH] :construction_worker: run feature-request management action once (#982) Run the feature-request github action only once for the "feature" label. Demo: https://github.com/MatissJanis/actual/issues/8 Also fixed the link to issue list. --- .github/workflows/issues-close-feature-requests.yml | 4 ++-- upcoming-release-notes/982.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 upcoming-release-notes/982.md diff --git a/.github/workflows/issues-close-feature-requests.yml b/.github/workflows/issues-close-feature-requests.yml index 729b2ed73..e08f535a9 100644 --- a/.github/workflows/issues-close-feature-requests.yml +++ b/.github/workflows/issues-close-feature-requests.yml @@ -6,7 +6,7 @@ on: jobs: needs-votes: - if: contains(github.event.issue.labels.*.name, 'feature') + if: ${{ github.event.label.name == 'feature' }} runs-on: ubuntu-latest steps: - name: Checkout @@ -28,7 +28,7 @@ jobs: This repository is now using lodash style issue management for enhancements. This means enhancement issues will now be closed instead of leaving them open. This doesn’t mean we don’t accept feature requests, though! We will consider implementing ones that receive many upvotes, and we welcome contributions for any feature requests marked as needing votes (just post a comment first so we can help you make a successful contribution). - The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?utf8=%E2%9C%93&q=label%3Aneeds-votes+sort%3Areactions-%2B1-desc+ + The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+ Don’t forget to upvote the top comment with ðŸ‘! - name: Close Issue diff --git a/upcoming-release-notes/982.md b/upcoming-release-notes/982.md new file mode 100644 index 000000000..6dc8356a3 --- /dev/null +++ b/upcoming-release-notes/982.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [MatissJanis] +--- + +Run feature-request management github action only once and for the "feature" label only (not for other labels) -- GitLab