Skip to content

Commit bdfcb7f

Browse files
authored
Merge pull request #128 from Garlic-Team/dev
chore(7.0.0): 🐢
2 parents b5ea435 + 6283643 commit bdfcb7f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1901
-514
lines changed

.github/workflows/dev-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
publish_dir: ./docs
2626
publish_branch: docs
2727
destination_dir: ./docs/
28-
keep_files: true
28+
keep_files: true

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
publish_dir: ./docs
2626
publish_branch: docs
2727
destination_dir: ./docs/
28-
keep_files: true
28+
keep_files: true

.github/workflows/labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: crazy-max/ghaction-github-labeler@v3
2323
with:
2424
github-token: ${{ secrets.ACCESS_TOKEN }}
25+
token: ${{ secrets.ACCESS_TOKEN }}
2526
label-approved:
2627
runs-on: ubuntu-latest
2728
steps:
@@ -39,4 +40,4 @@ jobs:
3940
"number": 2,
4041
"await_label": "s: awaiting review"
4142
}
42-
}
43+
}

.github/workflows/rebase.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Automatic Rebase
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
rebase:
8+
name: Rebase
9+
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout the latest code
13+
uses: actions/checkout@v2
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
17+
- name: Automatic Rebase
18+
uses: cirrus-actions/rebase@1.4
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Testing
2-
on: [push, pull_request]
2+
on: [pull_request]
33
jobs:
44
lint:
55
name: ESLint
@@ -18,3 +18,20 @@ jobs:
1818

1919
- name: Run ESLint
2020
run: npm run test
21+
id: eslint
22+
continue-on-error: true
23+
24+
- name: Success
25+
if: ${{ steps.eslint.outcome == 'success' }}
26+
uses: Garlic-Team/Auto-Review@1.0.4
27+
with:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
EVENT_TYPE: APPROVE
30+
MESSAGE: 'Everything is fine.'
31+
- name: Failure
32+
if: ${{ steps.eslint.outcome != 'success' }}
33+
uses: Garlic-Team/Auto-Review@1.0.4
34+
with:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
EVENT_TYPE: REQUEST_CHANGES
37+
MESSAGE: 'ESLint found errors. Please correct them. https://github.com/Garlic-Team/GCommands/actions/runs/${{ github.run_id }}'

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<div align="center">
2-
<h1><b>GCommands</b></h1>
2+
3+
# <img src="https://cdn.discordapp.com/avatars/834822955229380619/7d0142158babe0375e7cc633e87c06d4.png" height="30"> GCommands
4+
5+
<br />
36
<p>
47
<a href="https://www.npmjs.com/package/gcommands"><img src="https://img.shields.io/npm/v/gcommands?maxAge=3600" alt="NPM version" /></a>
58
<a href="https://www.npmjs.com/package/gcommands"><img src="https://img.shields.io/npm/dt/gcommands?maxAge=3600" alt="NPM downloads" /></a>
@@ -9,9 +12,9 @@
912
<a href="https://www.npmjs.com/package/gcommands"><img src="https://nodei.co/npm/gcommands.png?downloads=true&stars=true" alt="NPM Banner"></a>
1013
</p>
1114
<p>
12-
<a href="https://ko-fi.com/H2H05FNRL"><img src="https://garlic-team.github.io/GarMod/sources/support-ko-fi.svg" height="30" /></a>
13-
<a href="https://github.com/Garlic-Team/GCommands"><img src="https://garlic-team.github.io/GarMod/sources/open-source.svg" height="30" /></a>
14-
<img src="https://forthebadge.com/images/badges/made-with-javascript.svg" height="30" />
15+
<a href="https://ko-fi.com/H2H05FNRL"><img src="https://img.shields.io/badge/Kofi-Donate-yellow?style=for-the-badge" height="30" /></a>
16+
<a href="https://github.com/Garlic-Team/GCommands"><img src="https://img.shields.io/badge/Open-Source-blue?style=for-the-badge" height="30" /></a>
17+
<img src="https://img.shields.io/badge/Made%20With-JavaScript-red?style=for-the-badge" height="30" />
1518
</p>
1619
</div>
1720

@@ -39,4 +42,4 @@ If you are still having trouble, you can join our [Garlic Team](https://discord.
3942
- Supports custom i18n messages
4043
- Supports discord.js v12 and v13
4144
- Simply have a legacy and slash command in 1 file
42-
- Supports many types of arguments
45+
- Supports many types of arguments

0 commit comments

Comments
 (0)