Skip to content

Commit

Permalink
Merge branch 'ssitvit:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jaivsh authored Aug 8, 2023
2 parents 5497e9c + 05a6032 commit 68a0a81
Show file tree
Hide file tree
Showing 309 changed files with 119,253 additions and 386 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
npm-debug.log*
build
.github
*.md
.gitignore
4 changes: 1 addition & 3 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name: Auto Comment
on:
issues:
types:
- opened
- closed
- assigned

pull_request:
types:
- opened
- closed

jobs:
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: 'CodeQL'

on:
push:
branches: ['main']
pull_request:
branches: ['main']
schedule:
- cron: '00 12 * * 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

# Initializes the CodeQL tools for scanning.
- 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}}'
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Prettier Code Formatting

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop

jobs:
prettier-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Run prettier
run: |
npx prettier --check .
prettier_exit_code=$?
if [ $prettier_exit_code -ne 0 ]; then
echo "Prettier check failed. Please run 'npx prettier --write .' to fix formatting issues."
exit 1
fi
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:14-alpine

WORKDIR /Games-and-Go

COPY ./package*.json /Games-and-Go

RUN npm install

COPY . /Games-and-Go

CMD ["npm","start"]
42 changes: 34 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,30 +114,55 @@ We welcome contributions from anyone who is interested in improving this project
To submit a pull request, please follow these steps:

1. Fork this repository.

2. Clone the forked repository.
```css
git clone https://github.com/<your-github-username>/Games-and-Go
```

3. Navigate to the project directory.
```py
cd Games-and-Go
```
4. Create a new branch.
4. Add a refernce(remote) to the original repository.
```bash
git remote add upstream https://github.com/ssitvit/Games-and-Go.git
```

5. Check remotes for this repository.
```bash
git remote -v
```

6. Always take a pull from the main upstream repository.
```bash
git pull upstream main
```

7. Create a new branch.
```css
git checkout -b <your_branch_name>
```
5. Make changes.
6. Stage your changes and commit
8. Make changes to the code base.

9. Stage your changes.
```css
git add -A
git commit -m "<your_commit_message>"
```
7. Push your local commits to the remote repo.

10. Commit your changes.
```
git commit -m "relevant message"
```

11. Push your local commits to the remote repo.
```css
git push -u origin <your_branch_name>
```
6. Create a pull request from your branch to the original repository.
7. Congratulations! 🎉 you've made your contribution.

12. Create a pull request from your branch to the original repository.

13. Congratulations! 🎉 you've made your contribution.
<br>
At last after successfully submitting a pull request you can view your work live at <a href="https://games.ieeessitvit.tech/">SSIT LIVE </a>

Expand All @@ -152,7 +177,7 @@ If you're interested in working on any of the issues, please let us know by subm

Contributors are expected to adhere to the following [Code of Conduct](https://github.com/ssitvit/Games-and-Go/blob/main/CODE_OF_CONDUCT.md) to ensure a positive and inclusive environment for collaboration

If you want to get free **T-shirt,Swags** like **developers** then contribute and grow this repository with us, make sure to check out Contributing.md for contribution guidelines and add your name in the Readme.md and Contributors.md. <br/>
If you want to get free **T-shirt,Swags** like **developers** then contribute and grow this repository with us, make sure to check out [Contributing.md](https://github.com/ssitvit/Games-and-Go/blob/main/Contributing.md) for contribution guidelines and add your name in the [Readme.md](https://github.com/ssitvit/Games-and-Go#readme) and [Contributors.md](https://github.com/ssitvit/Games-and-Go/blob/main/Contributors.md) <br/>
</p>
<BR>
<!-- Contributors Section-->
Expand Down Expand Up @@ -212,3 +237,4 @@ git push -u origin <your_branch_name>
<a href="https://gssoc.girlscript.tech/"><img src="https://repository-images.githubusercontent.com/331823142/9764a900-5c8e-11eb-9f94-da2a01385e83" width="10%"/></a>
</div>
<h2 align="center">Happy Contributing!🎉</h2>
<h2 align="center">Thank you</h2>
Loading

0 comments on commit 68a0a81

Please sign in to comment.