Skip to content

Commit

Permalink
Merge pull request #1 from NeonGamerBot-QK/feat/gh-community
Browse files Browse the repository at this point in the history
feat: gh community
  • Loading branch information
NeonGamerBot-QK authored Sep 6, 2024
2 parents c534a10 + 812c98e commit 3aae7ad
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 30 deletions.
55 changes: 28 additions & 27 deletions .github/workflows/pretty.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: Lint & Pretty
# This action works with pull requests and pushes
on:
pull_request:
push:
branches:
- main

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Prettify code
uses: creyD/[email protected]
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md,html}
commit_message: "🎨 Prettier CI"
commit_description: "Linted Code using git CI"
github_token: ${{ github.token }}
name: Lint & Pretty
# This action works with pull requests and pushes
on:
pull_request:
push:
branches:
- main

jobs:
prettier:
name: lint
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Prettify code
uses: creyD/[email protected]
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md,html}
commit_message: "🎨 Prettier CI"
commit_description: "Linted Code using git CI"
github_token: ${{ github.token }}
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Node.js Tests

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:

name: tests
runs-on: ubuntu-latest

strategy:
Expand Down
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Contributing

Follow Code of Conduct.
<br />
Contribute to the main branch.
<br />
follow @zeon-neon's directions in PR's
<br />
Please do NOT contribute to any `.github/**` files (unless approved by @NeonGamerBot-QK).
<br />
Please label all PR's accordingly such as if there a bug issue relating to that issue tag it appropriately.
<br />
Adjust your PR to make sure status checks pass

0 comments on commit 3aae7ad

Please sign in to comment.