Skip to content

Commit

Permalink
Merge branch 'main' into vraccessories
Browse files Browse the repository at this point in the history
  • Loading branch information
dnyanesh99borse authored Oct 17, 2024
2 parents 8427199 + 8a08932 commit 61455c0
Show file tree
Hide file tree
Showing 11 changed files with 2,179 additions and 1,462 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/PRValidator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PR Description Check

on:
pull_request:
types: [opened]

jobs:
validate-pr-description:
runs-on: ubuntu-latest
steps:
- name: Validate PR Description
id: check_description
run: |
if [ -z "${{ github.event.pull_request.body }}" ]; then
echo "::error::Description is missing!"
exit 1
fi
- name: Check for issue number or 'Fixes #NEW'
id: check_issue_number
run: |
description="${{ github.event.pull_request.body }}"
if [[ ! "$description" =~ (Fixes #[0-9]+|Fixes #NEW) ]]; then
echo "::error::PR description must contain an issue number or 'Fixes #NEW'"
exit 1
fi
28 changes: 28 additions & 0 deletions .github/workflows/auto-assign-label-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Auto Assign and Label PR

on:
pull_request_target:
types: [opened]

permissions:
issues: write
pull-requests: write

jobs:
assign-and-label:
runs-on: ubuntu-latest

steps:
- name: Add Labels to PR
uses: actions-ecosystem/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels:
- gssoc-ext
- hacktoberfest-accepted

- name: Assign PR to Creator
uses: actions-ecosystem/action-assign@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignees: ${{ github.actor }}
9 changes: 3 additions & 6 deletions .github/workflows/auto-label-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ name: Auto Label New Issues & PRs

on:
issues:
types: [opened]
pull_request:
types: [opened]
types: [opened]

permissions:
issues: write
pull-requests: write
contents: write # Required to read repository contents


jobs:
label:
Expand All @@ -20,7 +17,7 @@ jobs:
uses: actions/checkout@v3

- name: Add Labels to Issues & PRs
if: github.event_name == 'issues' || github.event_name == 'pull_request'
if: github.event_name == 'issues'
uses: actions-ecosystem/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

7 changes: 7 additions & 0 deletions SignUp/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ <h2>Welcome to Registration!</h2>
<i class="fas fa-user"></i>
<input type="text" id="username" placeholder="Create a Username" required>
</div>
vraccessories
<div class="input-field">
<i class="fas fa-envelope"></i>
<input type="email" id="email" placeholder="Enter your Email" required>

<div class="input-group">
<label for="email">Email</label>
<div id="email-error" class="error-message"></div> <!-- Error message container -->
<input type="email" id="email" name="email" placeholder="Enter your mail-id" required>
main
</div>
<div class="input-field">
<i class="fas fa-lock"></i>
Expand Down
Loading

0 comments on commit 61455c0

Please sign in to comment.