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
3 changes: 2 additions & 1 deletion .github/workflow-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"TOC_FOLDING": "1",
"TOC_MAX_HEADER_LEVEL": "3",
"TOC_TITLE": "Details",
"TOC_CREATE_PR": "true",
"BRANCH_PREFIX": "release/"
}
}
4 changes: 2 additions & 2 deletions .github/workflows/add-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
env:
HEAD_REF: ${{ github.head_ref }}
if: startsWith(github.head_ref, 'release/v')
- uses: actions/github-script@0.4.0
- uses: actions/github-script@v3
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
script: |
Expand All @@ -39,7 +39,7 @@ jobs:
sha: context.sha
})
if: env.NEXT_VERSION
- uses: actions/github-script@0.4.0
- uses: actions/github-script@v3
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/add-test-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
HEAD_REF: ${{ github.head_ref }}
RUN_ID: ${{ github.run_id }}
if: env.NEXT_VERSION
- uses: actions/github-script@0.4.0
- uses: actions/github-script@v3
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
script: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest, ubuntu-16.04, macos-latest]
os: [ubuntu-16.04, ubuntu-latest, ubuntu-20.04, macos-latest]
steps:
- name: Set running flag
run: echo "RUNNING=1" >> $GITHUB_ENV
Expand Down Expand Up @@ -164,6 +164,11 @@ jobs:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- uses: actions/checkout@v2
if: env.RUNNING
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: 1
if: env.RUNNING
- name: Set running flag
run: npx can-npm-publish || echo "RUNNING=" >> $GITHUB_ENV
if: env.RUNNING && matrix.target == 'npm'
Expand Down Expand Up @@ -202,11 +207,6 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
if: env.RUNNING
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: 1
if: env.RUNNING
- name: Install Package dependencies
run: yarn install
if: env.RUNNING
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
timeout-minutes: 3
if: always()
steps:
- uses: technote-space/workflow-conclusion-action@v1
- uses: technote-space/workflow-conclusion-action@v2
- uses: 8398a7/action-slack@v3
with:
status: failure
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
- uses: technote-space/load-config-action@v1
with:
CONFIG_FILENAME: workflow-settings.json
- uses: technote-space/toc-generator@v2
- uses: technote-space/toc-generator@v3
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_BRANCH_PREFIX: ${{ env.BRANCH_PREFIX }}
FOLDING: ${{ env.TOC_FOLDING }}
MAX_HEADER_LEVEL: ${{ env.TOC_MAX_HEADER_LEVEL }}
TOC_TITLE: ${{ env.TOC_TITLE }}
CREATE_PR: ${{ env.TOC_CREATE_PR }}