diff --git a/.github/workflows/add-release-tag.yml b/.github/workflows/add-release-tag.yml index 60e9f8f..2e63516 100644 --- a/.github/workflows/add-release-tag.yml +++ b/.github/workflows/add-release-tag.yml @@ -10,6 +10,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 diff --git a/.github/workflows/broken-link-check.yml b/.github/workflows/broken-link-check.yml index 1775587..e550f5f 100644 --- a/.github/workflows/broken-link-check.yml +++ b/.github/workflows/broken-link-check.yml @@ -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: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba68264..4d72dd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ jobs: eslint: name: ESLint runs-on: ubuntu-latest + timeout-minutes: 5 env: LINT: 1 steps: @@ -56,6 +57,7 @@ jobs: name: Coverage needs: eslint runs-on: ubuntu-latest + timeout-minutes: 5 strategy: matrix: node: ['11', '12'] @@ -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: @@ -212,6 +215,7 @@ jobs: name: Create Release needs: [package] runs-on: ubuntu-latest + timeout-minutes: 5 steps: - name: Get version run: echo "::set-env name=TAG_NAME::${HEAD_REF#refs/tags/}" @@ -238,6 +242,7 @@ jobs: name: Slack needs: publishRelease runs-on: ubuntu-latest + timeout-minutes: 3 if: always() steps: - uses: technote-space/workflow-conclusion-action@v1 diff --git a/.github/workflows/issue-opened.yml b/.github/workflows/issue-opened.yml index 6661eb2..0066fe5 100644 --- a/.github/workflows/issue-opened.yml +++ b/.github/workflows/issue-opened.yml @@ -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: @@ -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 diff --git a/.github/workflows/pr-opened.yml b/.github/workflows/pr-opened.yml index 17d2173..5553e8d 100644 --- a/.github/workflows/pr-opened.yml +++ b/.github/workflows/pr-opened.yml @@ -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: @@ -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 diff --git a/.github/workflows/pr-updated.yml b/.github/workflows/pr-updated.yml index a30b14f..8f59497 100644 --- a/.github/workflows/pr-updated.yml +++ b/.github/workflows/pr-updated.yml @@ -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 @@ -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 @@ -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 @@ -43,6 +46,7 @@ jobs: checkVersion: name: Check package version runs-on: ubuntu-latest + 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/') && ! startsWith(github.head_ref, 'release/v')" steps: - uses: technote-space/load-config-action@v1 @@ -73,6 +77,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 diff --git a/.github/workflows/project-card-moved.yml b/.github/workflows/project-card-moved.yml index e0aad2d..a7fd02a 100644 --- a/.github/workflows/project-card-moved.yml +++ b/.github/workflows/project-card-moved.yml @@ -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 diff --git a/.github/workflows/sync-workflows.yml b/.github/workflows/sync-workflows.yml index f110c2b..06c0f80 100644 --- a/.github/workflows/sync-workflows.yml +++ b/.github/workflows/sync-workflows.yml @@ -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@gh-actions + uses: technote-space/create-pr-action@v2 with: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} EXECUTE_COMMANDS: | diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index d273ee3..27f0afa 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -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: diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 0d2bb1b..c683515 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -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: