Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/card-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Backlog:
'In progress':
- 'Status: In Progress'
Backlog:
'In progress':
- 'Status: In Progress'
86 changes: 43 additions & 43 deletions .github/config.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
# Configuration for request-info - https://github.com/behaviorbot/request-info
# *Required* Comment to reply with
requestInfoReplyComment: >
:clap: We would appreciate it if you could provide us with more info about this issue/pr!
# *OPTIONAL* default titles to check against for lack of descriptiveness
# MUST BE ALL LOWERCASE
requestInfoDefaultTitles:
- update readme.md
- updates
- update
# *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given
requestInfoLabelToAdd: "Status: More Information Needed"
# Configuration for welcome - https://github.com/behaviorbot/welcome
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
# Comment to be posted to on first time issues
newIssueWelcomeComment: >
:raised_hands: Thanks for opening your first issue here! Be sure to follow the issue template!
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
# Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: >
:raised_hands: Thanks for opening this pull request! Please check out our contributing guidelines.
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
:tada: Congrats on merging your first pull request! We here at behaviorbot are proud of you!
# Configuration for todo - https://github.com/jasonetco/todo
todo:
# Configuration for request-info - https://github.com/behaviorbot/request-info

# *Required* Comment to reply with
requestInfoReplyComment: >
:clap: We would appreciate it if you could provide us with more info about this issue/pr!

# *OPTIONAL* default titles to check against for lack of descriptiveness
# MUST BE ALL LOWERCASE
requestInfoDefaultTitles:
- update readme.md
- updates
- update

# *OPTIONAL* Label to be added to Issues and Pull Requests with insufficient information given
requestInfoLabelToAdd: "Status: More Information Needed"




# Configuration for welcome - https://github.com/behaviorbot/welcome

# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome

# Comment to be posted to on first time issues
newIssueWelcomeComment: >
:raised_hands: Thanks for opening your first issue here! Be sure to follow the issue template!

# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome

# Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: >
:raised_hands: Thanks for opening this pull request! Please check out our contributing guidelines.

# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge

# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
:tada: Congrats on merging your first pull request! We here at behaviorbot are proud of you!



# Configuration for todo - https://github.com/jasonetco/todo
todo:
- label: "Type: Todo"
26 changes: 13 additions & 13 deletions .github/no-response.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Configuration for probot-no-response - https://github.com/probot/no-response
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 14
# Label requiring a response
responseRequiredLabel: "Status: More Information Needed"
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
# Configuration for probot-no-response - https://github.com/probot/no-response

# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 14
# Label requiring a response
responseRequiredLabel: "Status: More Information Needed"
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
12 changes: 6 additions & 6 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'Type: Feature': ['feature/*', 'feat/*']
'Type: Bug': fix/*
'Type: Maintenance': ['patch/*', 'chore/*']
'Type: Release': release/*
'Type: Refactoring': ['refactor/*', 'refactoring/*']
'Type: Documentation': ['docs/*', 'doc/*']
'Type: Feature': ['feature/*', 'feat/*']
'Type: Bug': fix/*
'Type: Maintenance': ['patch/*', 'chore/*']
'Type: Release': release/*
'Type: Refactoring': ['refactor/*', 'refactoring/*']
'Type: Documentation': ['docs/*', 'doc/*']
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ categories:
- title: ':sparkles: All Changes'
labels:
- 'Type: Release'
exclude-lables:
exclude-labels:
- 'dependencies'
template: |
## What’s Changed
Expand Down
32 changes: 16 additions & 16 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels:
- "Priority: Critical"
- "Type: Security"
# Label to use when marking an issue as stale
staleLabel: "Status: Abandoned"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 180
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 30
# Issues with these labels will never be considered stale
exemptLabels:
- "Priority: Critical"
- "Type: Security"
# Label to use when marking an issue as stale
staleLabel: "Status: Abandoned"
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
2 changes: 1 addition & 1 deletion .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: Check package version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 3
- name: Check package version
Expand Down
47 changes: 39 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,34 @@ jobs:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 3
- name: Cache node modules
- uses: technote-space/get-diff-action@v1
with:
PREFIX_FILTER: |
src/
__tests__/
SUFFIX_FILTER: .ts
FILES: .eslintrc
- name: Get Yarn Cache Directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
if: env.GIT_DIFF
- name: Cache node dependencies
uses: actions/cache@v1
with:
path: ~/.cache/yarn
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
if: env.GIT_DIFF
- name: Install Package dependencies
run: yarn install
if: env.GIT_DIFF
- name: Check code style
run: yarn lint
run: yarn eslint ${{ env.GIT_DIFF }}
if: env.GIT_DIFF
- uses: 8398a7/action-slack@v1
with:
type: failure
Expand All @@ -43,30 +57,47 @@ jobs:
matrix:
node: ['10', '11', '12']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 3
- uses: technote-space/get-diff-action@v1
with:
PREFIX_FILTER: |
src/
__tests__/
SUFFIX_FILTER: .ts
FILES: |
yarn.lock
jest.config.js
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
if: env.GIT_DIFF || github.event_name == 'push'
- name: Get Yarn Cache Directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
if: env.GIT_DIFF || github.event_name == 'push'
- name: Cache node dependencies
uses: actions/cache@v1
with:
path: ~/.cache/yarn
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
if: env.GIT_DIFF || github.event_name == 'push'
- name: Install Package dependencies
run: yarn install
if: env.GIT_DIFF || github.event_name == 'push'
- name: Run tests
run: yarn cover
if: env.GIT_DIFF || github.event_name == 'push'
- name: Codecov
run: curl -s https://codecov.io/bash | bash -s -- -t $CODECOV_TOKEN -f $COVERAGE_FILE
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
COVERAGE_FILE: ./coverage/lcov.info
if: matrix.node == '12'
if: matrix.node == '12' && (env.GIT_DIFF || github.event_name == 'push')
- uses: 8398a7/action-slack@v1
with:
type: failure
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/gh_releases.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
on:
push:
branches:
- master
name: GitHub Releases
jobs:
draftRelease:
name: Draft Release
runs-on: ubuntu-latest
steps:
- name: Draft Release
uses: toolmantim/release-drafter@v5.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
- master
name: GitHub Releases
jobs:
draftRelease:
name: Draft Release
runs-on: ubuntu-latest
steps:
- name: Draft Release
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/issue_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Assign issues to project
uses: alex-page/github-project-automation-plus@v0.0.3
uses: technote-space/create-project-card-action@v1
with:
project: Backlog
column: To do
repo-token: ${{ secrets.GITHUB_TOKEN }}
PROJECT: Backlog
COLUMN: To do
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

assignAuthor:
name: Assign author to issue
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pr_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Assign PullRequest to Project
uses: alex-page/github-project-automation-plus@v0.0.3
uses: technote-space/create-project-card-action@v1
with:
project: Backlog
column: To do
repo-token: ${{ secrets.GITHUB_TOKEN }}
PROJECT: Backlog
COLUMN: To do
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

assignAuthor:
name: Assign author to PR
Expand All @@ -28,6 +28,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: PR Labeler
uses: technote-fork/pr-labeler-action@master
env:
uses: technote-space/pr-labeler-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 11 additions & 11 deletions .github/workflows/pr_updated.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
on: pull_request
name: Pull Request updated
jobs:
triage:
name: Pull Request Labeler
runs-on: ubuntu-latest
steps:
- name: Pull Request Labeler
uses: actions/labeler@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
on: pull_request
name: Pull Request updated
jobs:
triage:
name: Pull Request Labeler
runs-on: ubuntu-latest
steps:
- name: Pull Request Labeler
uses: actions/labeler@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
26 changes: 13 additions & 13 deletions .github/workflows/project_card_moved.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
on:
project_card:
types: [moved]
name: Project Card Event
jobs:
triage:
name: Auto card labeler
runs-on: ubuntu-latest
steps:
- name: Auto card labeler
uses: technote-space/auto-card-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
project_card:
types: [moved]
name: Project Card Event
jobs:
triage:
name: Auto card labeler
runs-on: ubuntu-latest
steps:
- name: Auto card labeler
uses: technote-space/auto-card-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading