Skip to content

Commit

Permalink
Merge branch 'rupali-codes:main' into add-sdet-automation
Browse files Browse the repository at this point in the history
  • Loading branch information
shreedhar37 authored Aug 21, 2023
2 parents 3018e8a + af88fb3 commit 10672fb
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 16 deletions.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/---category-suggestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/add_link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/category_description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/refactor_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
35 changes: 35 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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
35 changes: 35 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 10672fb

Please sign in to comment.