Skip to content

Commit

Permalink
update local main
Browse files Browse the repository at this point in the history
  • Loading branch information
rupali-codes committed Jul 1, 2023
2 parents 29ec091 + 9d3a5a2 commit 938893e
Show file tree
Hide file tree
Showing 122 changed files with 2,841 additions and 1,872 deletions.
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/category_description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Category Description 📝
description: Use this to add or update the category's description
title: "[Description] <write which description you want to add or update>"
labels: ["chore", "goal: description"]
body:
- type: input
attributes:
label: Category Name
description: Provide Name of Category
validations:
required: true
- type: input
attributes:
label: Subcategory Name
description: Provide Name of Subctaegory
validations:
required: true
- type: textarea
attributes:
label: New or updated description of above subcategory
validations:
required: true
- type: checkboxes
attributes:
label: Status of Description
options:
- label: "Adding new description"
required: false

- label: "Updating existing description"
required: false
- type: checkboxes
id: no-duplicate-issues
attributes:
label: "Checklist"
options:
- label: "I have checked the existing issues"
required: true

- label: "I have read the [Contributing Guidelines](https://github.com/rupali-codes/LinksHub/blob/main/CONTRIBUTING.md)"
required: true

- label: "I am willing to work on this issue (optional)"
required: false

- label: "I am a GSSoC'23 contributor"
required: false
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor_code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Refactor Code 🔧
description: Use this label for code refactoring tasks.
title: '[Refactor] <write what you want to add>'
labels: ['goal: refactor']
body:
- type: input
attributes:
label: File Name
description: 'Enter the file that you want to refactor in the codebase.'
placeholder: 'For example - component/Cards/Card.tsx'
validations:
required: true
- type: textarea
id: refactor_description
attributes:
label: 'Reason for Refactoring the Code'
description: 'Describe what improvements can be made in the codebase without introducing breaking changes.'
validations:
required: true
- type: checkboxes
id: no-duplicate-issues
attributes:
label: 'Checklist'
options:
- label: 'I have checked the existing [issues](https://github.com/rupali-codes/LinksHub/issues).'
required: true

- label: 'I have read the [Contributing Guidelines](https://github.com/rupali-codes/LinksHub/blob/main/CONTRIBUTING.md).'
required: true

- label: "The changes don't break the code and don't introduce new functionality."
required: true

- label: 'I am willing to work on this issue (optional).'
required: false

- label: 'I am a GSSoC23 contributor.'
required: false
10 changes: 7 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
version: 2
updates:
# Update GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
labels:
- 📦 dependencies
directory: '/' # refers to the location of package.json
commit-message:
prefix: 'chore(deps)'
schedule:
interval: "daily"
interval: 'daily'
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '45 23 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
22 changes: 22 additions & 0 deletions .github/workflows/lock-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Issue Lockdown'

on:
issues:
types: opened

permissions:
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@v3 # Reference: https://github.com/dessant/repo-lockdown
with:
close-issue: false
process-only: 'issues'
issue-labels: '🔒 locked'
exclude-issue-labels: '🚀 ready'
skip-closed-issue-comment: true
issue-comment: >
To reduce notifications, issues are locked. Your issue will be unlocked when we add the label, `🚀 ready`.
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"singleQuote": true,
"tabWidth": 2,
"useTabs": false
}
}
Loading

0 comments on commit 938893e

Please sign in to comment.