From 5777049601e609b1c11710d3f0fe59053c515d8b Mon Sep 17 00:00:00 2001 From: shubham-fyle Date: Mon, 23 Sep 2024 23:02:50 +0530 Subject: [PATCH] chore: Added github action (#641) * Updated .github/pull_request_template.md * Updated .github/workflows/pr_size.yml --- .github/pull_request_template.md | 5 +++++ .github/workflows/pr_size.yml | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/pr_size.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..5b984f82 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,5 @@ +### Description +Please add PR description here, add screenshots if needed + +## Clickup +Please add link here \ No newline at end of file diff --git a/.github/workflows/pr_size.yml b/.github/workflows/pr_size.yml new file mode 100644 index 00000000..b4a4ef75 --- /dev/null +++ b/.github/workflows/pr_size.yml @@ -0,0 +1,21 @@ +name: Pull Request Labeling + +on: [pull_request] + +jobs: + size: + runs-on: ubuntu-latest + name: Label the PR size + steps: + - uses: "pascalgn/size-label-action@v0.4.3" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + sizes: > + { + "0": "XS", + "20": "S", + "50": "M", + "250": "L", + "800": "XL" + }