From 1bd502a3fbf65013470b23bfdd6911943d211069 Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 12 Apr 2024 23:14:37 +0200 Subject: [PATCH] feat: improve doc --- .github/workflows/label-issue.yml | 17 ++++++++++++++--- pull_request_template.md | 2 ++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/label-issue.yml b/.github/workflows/label-issue.yml index 87506bc..b847cdf 100644 --- a/.github/workflows/label-issue.yml +++ b/.github/workflows/label-issue.yml @@ -2,10 +2,10 @@ name: Add Labels on: pull_request: - types: [opened, edited, synchronize] + types: [ opened, edited, synchronize ] jobs: - add_labels: + add_supporters: runs-on: ubuntu-latest steps: - name: checkout @@ -13,6 +13,17 @@ jobs: - name: add labels uses: actions-ecosystem/action-add-labels@v1 - if: ${{ contains( fromJson('[ "tomalaforge" ]'), github.actor ) && startsWith(github.event.pull_request.title, 'Answer') }} + if: ${{ contains( fromJson('[ "tomalaforge", "alcaidio" , "svenson95", "jdegand", "DeveshChau", "stillst", "wandri", "webbomj", "kabrunko-dev" ]'), github.actor ) && startsWith(github.event.pull_request.title, 'Answer') }} with: labels: supporter + add_answers: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + + - name: add labels + uses: actions-ecosystem/action-add-labels@v1 + if: ${{ startsWith(github.event.pull_request.title, 'Answer') }} + with: + labels: answer diff --git a/pull_request_template.md b/pull_request_template.md index 8201758..7393fc6 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -7,5 +7,7 @@ - If you want feedback or review, you must support the project on GitHub: - $5 per review - $25 for lifetime reviews + - Create one of more challenges + - Have many valuable contributions to the project Alternatively, you can still submit your PR to join the list of answered challenges.