Skip to content

Commit 197c973

Browse files
Merge pull request #205 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents ce511a8 + 21d9d62 commit 197c973

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ jobs:
6565
PREFIX_FILTER: |
6666
src/
6767
__tests__/
68-
SUFFIX_FILTER: .ts
68+
SUFFIX_FILTER: |
69+
.ts
70+
.snap
6971
FILES: |
7072
yarn.lock
7173
jest.config.js

.github/workflows/pr_opened.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: PR Labeler
31-
uses: technote-fork/pr-labeler-action@v3
31+
uses: technote-space/pr-labeler-action@v3
3232
with:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
tags:
44
- 'v*'
55

6-
name: Publish Package
6+
name: Release
77

88
jobs:
99
test:
10-
name: Test before publish
10+
name: Test before release
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
@@ -101,7 +101,7 @@ jobs:
101101

102102
slack:
103103
name: Slack
104-
needs: release
104+
needs: [release]
105105
runs-on: ubuntu-latest
106106
steps:
107107
- uses: 8398a7/action-slack@v1

.github/workflows/toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ jobs:
1313
uses: technote-space/toc-generator@v2
1414
with:
1515
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
16+
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1617
TARGET_BRANCH_PREFIX: release/

.github/workflows/update-dependencies.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
on:
22
schedule:
3-
- cron: 0 17 * * *
3+
- cron: 0 9 * * 2,5
44
pull_request:
55
types: [opened, synchronize, reopened, closed]
6+
repository_dispatch:
7+
types: [update-deps]
68

79
name: Update dependencies
810
jobs:
9-
release:
11+
update:
1012
name: Update npm dependencies
1113
runs-on: ubuntu-latest
1214
steps:
1315
- name: Update dependencies
1416
uses: technote-space/create-pr-action@v1
1517
with:
1618
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19+
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1720
EXECUTE_COMMANDS: |
1821
npx npm-check-updates -u --packageFile package.json
1922
yarn install

0 commit comments

Comments
 (0)