From fc7f5d1f2a363b17d57ba6fd8af647e20195c270 Mon Sep 17 00:00:00 2001 From: Priyanshu Maurya Date: Thu, 10 Aug 2023 20:03:11 +0000 Subject: [PATCH 1/3] [Added] codespaces auto setup --- .devcontainer/devcontainer.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..a30d631dd --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,33 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "hostRequirements": { + "cpus": 4 + }, + "waitFor": "onCreateCommand", + "updateContentCommand": "pnpm install", + "postCreateCommand": [ + "pnpm install -D tailwindcss@latest postcss@latest autoprefixer@latest", + "pnpm install -D typescript @types/react @types/node", + "pnpm install next react react-dom" + ], + "postAttachCommand": { + "server": "pnpm run dev" + }, + "customizations": { + "codespaces": { + "openFiles": ["src/App.tsx"] + } + }, + "portsAttributes": { + "3000": { + "label": "Application", + "onAutoForward": "openPreview" + } + }, + "forwardPorts": [3000], + "extensions": [ + "octref.vetur", + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ] +} From e98ce0f8b4b5362bced40fa52ece06ba9d3d4989 Mon Sep 17 00:00:00 2001 From: Tamal Das Date: Mon, 21 Aug 2023 21:38:18 +0530 Subject: [PATCH 2/3] feat: added automation for drafting a release (#1603) --- .github/release-drafter.yml | 35 +++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 35 +++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..51bf57cd3 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,35 @@ +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "🚧 Huge Updates" + labels: + - "📈 Major" + - title: "🚀 New Features" + labels: + - "feature" + - title: "🐛 Bug Fixes" + labels: + - "patch" + - "📄 aspect: docs" + - title: "🧰 Maintenance" + labels: + - "chore" + - "dependencies" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-title-escapes: '\<*_&' +version-resolver: + major: + labels: + - "📈 Major" + minor: + labels: + - "feature" + patch: + labels: + - "patch" + - "dependencies" + - "📄 aspect: docs" + default: patch +template: | + + $CHANGES \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..02076fb66 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,35 @@ +name: 📢 Draft Release Notes + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - main + pull_request: + # Only following types are handled by the action, but one can default to all as well + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + # write permission is required to create a github release + contents: write + # write permission is required for autolabeler + # otherwise, read permission is required at least + pull-requests: write + runs-on: ubuntu-latest + steps: + # (Optional) GitHub Enterprise requires GHE_HOST variable set + #- name: Set GHE_HOST + # run: | + # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV + + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5 + + # The GITHUB_TOKEN works for the most case if it doesnot works, replace it with Personal Access Token + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From dbcbb9b4fbdc06f08699cdaf32688273cd52506b Mon Sep 17 00:00:00 2001 From: Christine Belzie <105683440+CBID2@users.noreply.github.com> Date: Mon, 21 Aug 2023 12:09:34 -0400 Subject: [PATCH 3/3] fix: omitted GSSoc checkbox (#1602) --- .github/ISSUE_TEMPLATE/---category-suggestion.yml | 2 -- .github/ISSUE_TEMPLATE/add_link.yml | 2 -- .github/ISSUE_TEMPLATE/bug.yml | 2 -- .github/ISSUE_TEMPLATE/category_description.yml | 3 +-- .github/ISSUE_TEMPLATE/documentation.yml | 2 -- .github/ISSUE_TEMPLATE/feature_request.yml | 2 -- .github/ISSUE_TEMPLATE/other.yml | 3 +-- .github/ISSUE_TEMPLATE/refactor_code.yml | 2 -- 8 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/---category-suggestion.yml b/.github/ISSUE_TEMPLATE/---category-suggestion.yml index e56479761..efd22313b 100644 --- a/.github/ISSUE_TEMPLATE/---category-suggestion.yml +++ b/.github/ISSUE_TEMPLATE/---category-suggestion.yml @@ -45,8 +45,6 @@ body: required: true - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false - type: markdown attributes: value: "Thank you for taking the time to suggest a new request! Your input is greatly appreciated." diff --git a/.github/ISSUE_TEMPLATE/add_link.yml b/.github/ISSUE_TEMPLATE/add_link.yml index 15b810d82..eb77961ba 100644 --- a/.github/ISSUE_TEMPLATE/add_link.yml +++ b/.github/ISSUE_TEMPLATE/add_link.yml @@ -53,5 +53,3 @@ body: - label: 'I am willing to work on this issue (optional)' required: false - - label: "I am a GSSoC'23 contributor" - required: false diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index bafd82578..fef3b2eff 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -48,6 +48,4 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/category_description.yml b/.github/ISSUE_TEMPLATE/category_description.yml index f08f13671..9bafe73b0 100644 --- a/.github/ISSUE_TEMPLATE/category_description.yml +++ b/.github/ISSUE_TEMPLATE/category_description.yml @@ -43,5 +43,4 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false \ No newline at end of file + \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml index 12986b092..e8a617406 100644 --- a/.github/ISSUE_TEMPLATE/documentation.yml +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -41,8 +41,6 @@ body: required: true - label: 'I am willing to work on this issue (optional)' required: false - - label: "I am a GSSoC'23 contributor" - required: false - type: markdown attributes: value: 'Thank you for taking the time to raise this issue! Your input is greatly appreciated.' diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index fa252d5d0..4332d31e0 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -31,5 +31,3 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml index 1a1120624..002f4ae4d 100644 --- a/.github/ISSUE_TEMPLATE/other.yml +++ b/.github/ISSUE_TEMPLATE/other.yml @@ -24,5 +24,4 @@ body: - label: "I am willing to work on this issue (optional)" required: false - - label: "I am a GSSoC'23 contributor" - required: false + diff --git a/.github/ISSUE_TEMPLATE/refactor_code.yml b/.github/ISSUE_TEMPLATE/refactor_code.yml index 5d7fe0fdd..bfb6f844a 100644 --- a/.github/ISSUE_TEMPLATE/refactor_code.yml +++ b/.github/ISSUE_TEMPLATE/refactor_code.yml @@ -34,5 +34,3 @@ body: - label: 'I am willing to work on this issue (optional).' required: false - - label: 'I am a GSSoC23 contributor.' - required: false