|
6 | 6 | triage: |
7 | 7 | name: Pull Request Labeler |
8 | 8 | runs-on: ubuntu-latest |
| 9 | + timeout-minutes: 3 |
9 | 10 | if: "! startsWith(github.head_ref, 'release/')" |
10 | 11 | steps: |
11 | 12 | - uses: actions/labeler@v2 |
|
15 | 16 | history: |
16 | 17 | name: Pull Request Body |
17 | 18 | runs-on: ubuntu-latest |
| 19 | + timeout-minutes: 3 |
18 | 20 | if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id |
19 | 21 | steps: |
20 | 22 | - uses: technote-space/load-config-action@v1 |
|
30 | 32 | manageRelease: |
31 | 33 | name: Manage release |
32 | 34 | runs-on: ubuntu-latest |
| 35 | + timeout-minutes: 3 |
33 | 36 | 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')" |
34 | 37 | steps: |
35 | 38 | - uses: technote-space/load-config-action@v1 |
|
43 | 46 | checkVersion: |
44 | 47 | name: Check package version |
45 | 48 | runs-on: ubuntu-latest |
46 | | - 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')" |
| 49 | + timeout-minutes: 3 |
| 50 | + if: "github.event.action == 'synchronize' && github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')" |
47 | 51 | steps: |
48 | 52 | - uses: technote-space/load-config-action@v1 |
49 | 53 | with: |
|
61 | 65 | uses: technote-space/get-next-version-action@v1 |
62 | 66 | with: |
63 | 67 | EXCLUDE_MESSAGES: ${{ env.EXCLUDE_MESSAGES }} |
64 | | - if: env.RUNNING |
| 68 | + if: "env.RUNNING && ! startsWith(github.head_ref, 'release/v')" |
| 69 | + - name: Get version |
| 70 | + run: echo "::set-env name=NEXT_VERSION::${HEAD_REF#release/}" |
| 71 | + env: |
| 72 | + HEAD_REF: ${{ github.head_ref }} |
| 73 | + if: env.RUNNING && startsWith(github.head_ref, 'release/v') |
65 | 74 | - name: Check package version |
66 | 75 | uses: technote-space/package-version-check-action@v1 |
67 | 76 | with: |
|
73 | 82 | checkPublish: |
74 | 83 | name: Check publish |
75 | 84 | runs-on: ubuntu-latest |
| 85 | + timeout-minutes: 3 |
76 | 86 | if: "github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/')" |
77 | 87 | steps: |
78 | 88 | - name: Set running flag |
|
0 commit comments