Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f475a8c
docs: update license type to ISC
Muunatic Feb 20, 2024
7b02ee6
Merge PR #59 docs: update license type to ISC
typeslint-cli[bot] Feb 20, 2024
8eee5b9
build: upgrade checkout and setup-node
Muunatic Feb 27, 2024
4fb62be
build: change branches to development
Muunatic Feb 27, 2024
225b9ee
build: change jobs to build
Muunatic Mar 1, 2024
613be34
Merge PR #60 build: upgrade checkout and setup-node
typeslint-cli[bot] Mar 12, 2024
75457c5
style: add parentheses in arrow functions
Muunatic Mar 12, 2024
d3824fb
test(linter): add arrow-parens rules
Muunatic Mar 12, 2024
78623c2
Merge PR #61 style: add parentheses in arrow functions
typeslint-cli[bot] Mar 14, 2024
c4b23f9
refactor: createReview() function to reduce redundancy
Muunatic Mar 18, 2024
ebc631c
refactor: removeLabel using forEach
Muunatic Apr 3, 2024
15f15ca
Merge PR #62 refactor: createReview() function to reduce redundancy
typeslint-cli[bot] Apr 4, 2024
9c4eb0d
feat: create comment for prs author
Muunatic Apr 18, 2024
b3a9d50
Merge PR #63 refactor: create comment for prs author
typeslint-cli[bot] Apr 19, 2024
7d40349
refactor: using strict equality operator check
Muunatic Apr 23, 2024
233d35f
test(linter): add eqeqeq and object-shorthand rules
Muunatic Apr 23, 2024
ac8d07b
Merge PR #64 refactor: using strict equality operator check
typeslint-cli[bot] Apr 23, 2024
37d02cf
fix(prsReview): adjust author_association payload
Muunatic Jun 10, 2024
01d2920
Merge PR #65 fix(prsReview): adjust author_association payload
typeslint-cli[bot] Jun 11, 2024
7e9df0c
chore: rename env to .env
Muunatic Jul 8, 2024
07fffb2
feat(env): add CLIENT_ID and CLIENT_SECRET
Muunatic Jul 8, 2024
b3e474a
Merge PR #66 chore: rename env to .env
typeslint-cli[bot] Jul 8, 2024
9593916
chore(release): 3.0.1 Release
Muunatic Jul 8, 2024
3841f9c
Merge PR #67 chore(release): bump from 3.0.0 to 3.0.1
typeslint-cli[bot] Jul 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Recommended to run npm start first!

WEBHOOK_PROXY_URL=""
APP_ID=""
PRIVATE_KEY=""
WEBHOOK_SECRET=""
CLIENT_ID=""
CLIENT_SECRET=""
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@typescript-eslint"
],
"rules": {
"arrow-parens": ["warn", "always"],
"brace-style": ["warn", "1tbs"],
"camelcase": ["warn", {
"properties": "never",
Expand All @@ -32,6 +33,7 @@
"curly": ["error", "all"],
"default-case": 1,
"eol-last": ["warn", "always"],
"eqeqeq": ["error", "smart"],
"indent": ["warn", 4, {
"SwitchCase": 1
}],
Expand All @@ -54,6 +56,7 @@
"objectsInObjects": true,
"arraysInObjects": true
}],
"object-shorthand": ["warn", "consistent"],
"quotes": ["warn", "double", {
"avoidEscape": false
}],
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: Run TypeScript Compiler

on:
push:
branches: [ develop ]
branches: [ development ]
pull_request:
branches: [ develop ]
branches: [ development ]

jobs:
lint:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [18.19.0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install npm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run ESLint Linter

on:
push:
branches: [ develop ]
branches: [ development ]
pull_request:
branches: [ develop ]
branches: [ development ]

jobs:
lint:
Expand All @@ -13,9 +13,9 @@ jobs:
matrix:
node-version: [18.19.0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install npm
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ This GitHub Automaton is a Probot-based application that automates various actio
Environment Variables
To use this application, set the following environment variables in a .env file:

APP_ID: Your GitHub App's ID.
PRIVATE_KEY: Your GitHub App's private key.
CLIENT_ID: Your GitHub App's client ID.
CLIENT_SECRET: Your GitHub App's client secret.
- APP_ID: Your GitHub App's ID.
- PRIVATE_KEY: Your GitHub App's private key.
- CLIENT_ID: Your GitHub App's client ID.
- CLIENT_SECRET: Your GitHub App's client secret.

## Usage
To use this application, install the dependencies and configure the environment variables. Run the application using the appropriate command `npm run build:start`.
Expand All @@ -24,4 +24,4 @@ To use this application, install the dependencies and configure the environment
Contributions are welcome! Please see this <a href="https://github.com/Typeslint/github-AutoResponse/blob/main/CONTRIBUTING.md">**Contribution Guide**</a> and adhere to <a href="https://github.com/Typeslint/github-AutoResponse/blob/main/CODE_OF_CONDUCT.md">**Code Of Conduct**</a>. If you have any improvements, feel free to submit a pull request.

## License
This project is licensed under the MIT License.
This project is licensed under the ISC License.
6 changes: 0 additions & 6 deletions env.example

This file was deleted.

Loading