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
2 changes: 2 additions & 0 deletions .github/workflows/add-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
pull_request:
branches:
- master
- develop/v*
types: [closed]

name: Add release tag
Expand All @@ -10,6 +11,7 @@ jobs:
tag:
name: Add release tag
runs-on: ubuntu-latest
timeout-minutes: 3
if: github.event.pull_request.merged == true && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')
steps:
- uses: technote-space/load-config-action@v1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/broken-link-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
schedule:
- cron: 0 0 4 * *
- cron: 24 0 21 * *
repository_dispatch:
types: [check-link]

Expand All @@ -9,6 +9,7 @@ jobs:
check:
name: Broken Link Check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: technote-space/auto-cancel-redundant-job@v1
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
timeout-minutes: 5
env:
LINT: 1
steps:
Expand Down Expand Up @@ -56,6 +57,7 @@ jobs:
name: Coverage
needs: eslint
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
node: ['11', '12']
Expand Down Expand Up @@ -129,6 +131,7 @@ jobs:
name: Publish Package
needs: cover
runs-on: ubuntu-latest
timeout-minutes: 5
if: startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
Expand Down Expand Up @@ -212,6 +215,7 @@ jobs:
name: Publish GitHub Pages
needs: cover
runs-on: ubuntu-latest
timeout-minutes: 10
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -249,6 +253,7 @@ jobs:
name: Upload build files
needs: cover
runs-on: ubuntu-latest
timeout-minutes: 5
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -277,6 +282,7 @@ jobs:
name: Create Release
needs: [package, pages, releases]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Get version
run: echo "::set-env name=TAG_NAME::${HEAD_REF#refs/tags/}"
Expand All @@ -303,6 +309,7 @@ jobs:
name: Slack
needs: publishRelease
runs-on: ubuntu-latest
timeout-minutes: 3
if: always()
steps:
- uses: technote-space/workflow-conclusion-action@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/issue-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
assign:
name: Assign issues to project
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/load-config-action@v1
with:
Expand All @@ -20,5 +21,6 @@ jobs:
assignAuthor:
name: Assign author to issue
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/assign-author@v1
3 changes: 3 additions & 0 deletions .github/workflows/pr-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
name: Assign PullRequest to Project
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/load-config-action@v1
with:
Expand All @@ -22,11 +23,13 @@ jobs:
assignAuthor:
name: Assign author to PR
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/assign-author@v1

addLabelsByBranch:
name: PR Labeler
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/pr-labeler-action@v4
14 changes: 12 additions & 2 deletions .github/workflows/pr-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
triage:
name: Pull Request Labeler
runs-on: ubuntu-latest
timeout-minutes: 3
if: "! startsWith(github.head_ref, 'release/')"
steps:
- uses: actions/labeler@v2
Expand All @@ -15,6 +16,7 @@ jobs:
history:
name: Pull Request Body
runs-on: ubuntu-latest
timeout-minutes: 3
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
steps:
- uses: technote-space/load-config-action@v1
Expand All @@ -30,6 +32,7 @@ jobs:
manageRelease:
name: Manage release
runs-on: ubuntu-latest
timeout-minutes: 3
if: "github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/') && ! startsWith(github.head_ref, 'release/v')"
steps:
- uses: technote-space/load-config-action@v1
Expand All @@ -43,7 +46,8 @@ jobs:
checkVersion:
name: Check package version
runs-on: ubuntu-latest
if: "github.event.action == 'synchronize' && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/') && ! startsWith(github.head_ref, 'release/v')"
timeout-minutes: 3
if: "github.event.action == 'synchronize' && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')"
steps:
- uses: technote-space/load-config-action@v1
with:
Expand All @@ -61,7 +65,12 @@ jobs:
uses: technote-space/get-next-version-action@v1
with:
EXCLUDE_MESSAGES: ${{ env.EXCLUDE_MESSAGES }}
if: env.RUNNING
if: "env.RUNNING && ! startsWith(github.head_ref, 'release/v')"
- name: Get version
run: echo "::set-env name=NEXT_VERSION::${HEAD_REF#release/}"
env:
HEAD_REF: ${{ github.head_ref }}
if: env.RUNNING && startsWith(github.head_ref, 'release/v')
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
Expand All @@ -73,6 +82,7 @@ jobs:
checkPublish:
name: Check publish
runs-on: ubuntu-latest
timeout-minutes: 3
if: "github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')"
steps:
- name: Set running flag
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/project-card-moved.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ jobs:
triage:
name: Auto card labeler
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/auto-card-labeler@v1
3 changes: 2 additions & 1 deletion .github/workflows/sync-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
release:
name: Sync workflows
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Sync workflows
uses: technote-space/create-pr-action@v1
uses: technote-space/create-pr-action@v2
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
EXECUTE_COMMANDS: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
name: TOC Generator
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: technote-space/load-config-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
update:
name: Update npm dependencies
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: technote-space/load-config-action@v1
with:
Expand Down