-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from technote-space/release/v0.2.0
Release/v0.2.0
- Loading branch information
Showing
25 changed files
with
352 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Backlog: | ||
'In progress': | ||
- 'Status: In Progress' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
javascript: | ||
- '**/*.js' | ||
typescript: | ||
- '**/*.ts' | ||
dependencies: | ||
- '**/*.lock' | ||
- '**/*-lock.json' | ||
|
||
'Type: Testing': | ||
- '**/tests/*' | ||
- '**/test/*' | ||
- '**/__tests__/*' | ||
|
||
'Type: Documentation': | ||
- '**/*.md' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
'Type: Feature': feature/* | ||
'Type: Feature': ['feature/*', 'feat/*'] | ||
'Type: Bug': fix/* | ||
'Type: Maintenance': patch/* | ||
'Type: Maintenance': ['patch/*', 'chore/*'] | ||
'Type: Release': release/* | ||
'Type: Refactoring': ['refactor/*', 'refactoring/*'] | ||
'Type: Documentation': ['docs/*', 'doc/*'] | ||
'Type: Documentation': ['docs/*', 'doc/*'] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- "!*" | ||
|
||
name: Build | ||
|
||
jobs: | ||
phpcs: | ||
name: PHP Code Sniffer | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 2 | ||
- name: Prepare setting | ||
run: git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci && bash travis-ci/bin/prepare.sh | ||
env: | ||
CI: 1 | ||
TRAVIS_BUILD_DIR: ${{ github.workspace }} | ||
- name: Install Composer dependencies | ||
run: composer prepare:php | ||
- name: Check code style | ||
run: composer phpcs | ||
- uses: 8398a7/action-slack@v1 | ||
with: | ||
type: failure | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: failure() | ||
phpmd: | ||
name: PHPMD | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 2 | ||
- name: Prepare setting | ||
run: git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci && bash travis-ci/bin/prepare.sh | ||
env: | ||
CI: 1 | ||
TRAVIS_BUILD_DIR: ${{ github.workspace }} | ||
- name: Install Composer dependencies | ||
run: composer prepare:php | ||
- name: Check code style | ||
run: composer phpmd | ||
- uses: 8398a7/action-slack@v1 | ||
with: | ||
type: failure | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: failure() | ||
|
||
phpunit: | ||
name: PHPUnit | ||
needs: [phpcs, phpmd] | ||
runs-on: ubuntu-16.04 | ||
services: | ||
mysql: | ||
image: mysql | ||
ports: | ||
- 3306 | ||
strategy: | ||
matrix: | ||
php: ['7.0', '7.3', '5.6'] | ||
WP_VERSION: ['latest', 'trunk'] | ||
include: | ||
- php: '7.3' | ||
WP_VERSION: 'latest' | ||
WP_MULTISITE: '1' | ||
- php: '5.6' | ||
WP_VERSION: 'trunk' | ||
WP_MULTISITE: '1' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 2 | ||
- name: Switch PHP version | ||
env: | ||
PHP_VERSION: ${{ matrix.php }} | ||
run: sudo ln -sf "/usr/bin/php$PHP_VERSION" /etc/alternatives/php | ||
- name: Prepare setting | ||
run: git clone --depth=1 https://github.com/wp-content-framework/travis-ci.git travis-ci && bash travis-ci/bin/prepare.sh | ||
env: | ||
CI: 1 | ||
TRAVIS_BUILD_DIR: ${{ github.workspace }} | ||
WP_VERSION: ${{ matrix.WP_VERSION }} | ||
ACTIVATE_POPULAR_PLUGINS: 1 | ||
IGNORE_GUTENBERG_VERSION: 1 | ||
- name: Run tests | ||
run: bash travis-ci/bin/php/wp-test.sh | ||
env: | ||
CI: 1 | ||
DB_PASS: root | ||
TRAVIS_BUILD_DIR: ${{ github.workspace }} | ||
WP_VERSION: ${{ matrix.WP_VERSION }} | ||
WP_MULTISITE: ${{ matrix.WP_MULTISITE }} | ||
ACTIVATE_POPULAR_PLUGINS: 1 | ||
IGNORE_GUTENBERG_VERSION: 1 | ||
- uses: 8398a7/action-slack@v1 | ||
with: | ||
type: failure | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
if: failure() | ||
|
||
slack: | ||
name: Slack | ||
needs: [phpunit] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: 8398a7/action-slack@v1 | ||
with: | ||
type: success | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
on: issues | ||
name: Issue opened | ||
jobs: | ||
assign: | ||
name: Assign issues to project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign issues to project | ||
if: github.event.action == 'opened' | ||
uses: alex-page/github-project-automation-plus@master | ||
with: | ||
project: Backlog | ||
column: To do | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
assignAuthor: | ||
name: Assign author to issue | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign author to issue | ||
if: github.event.action == 'opened' | ||
uses: technote-space/assign-author@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
on: pull_request | ||
name: Pull Request opened | ||
jobs: | ||
assignToProject: | ||
name: Assign PullRequest to Project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign PullRequest to Project | ||
if: github.event.action == 'opened' | ||
uses: alex-page/github-project-automation-plus@master | ||
with: | ||
project: Backlog | ||
column: To do | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
assignAuthor: | ||
name: Assign author to PR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign Author to PR | ||
if: github.event.action == 'opened' | ||
uses: technote-space/assign-author@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
addLabelsByBranch: | ||
name: PR Labeler | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: PR Labeler | ||
if: github.event.action == 'opened' | ||
uses: technote-fork/pr-labeler-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
on: project_card | ||
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
on: push | ||
name: TOC Generator | ||
jobs: | ||
assignAuthor: | ||
name: TOC Generator | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: TOC Generator | ||
uses: technote-space/toc-generator@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.