Skip to content

chore: sync workflows #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 25, 2020
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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ jobs:
PREFIX_FILTER: |
src/
__tests__/
SUFFIX_FILTER: .ts
SUFFIX_FILTER: |
.ts
.snap
FILES: |
yarn.lock
jest.config.js
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: PR Labeler
uses: technote-fork/pr-labeler-action@v3
uses: technote-space/pr-labeler-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ on:
tags:
- 'v*'

name: Publish Package
name: Release

jobs:
test:
name: Test before publish
name: Test before release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

slack:
name: Slack
needs: release
needs: [release]
runs-on: ubuntu-latest
steps:
- uses: 8398a7/action-slack@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
uses: technote-space/toc-generator@v2
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TARGET_BRANCH_PREFIX: release/
7 changes: 5 additions & 2 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
on:
schedule:
- cron: 0 17 * * *
- cron: 0 9 * * 2,5
pull_request:
types: [opened, synchronize, reopened, closed]
repository_dispatch:
types: [update-deps]

name: Update dependencies
jobs:
release:
update:
name: Update npm dependencies
runs-on: ubuntu-latest
steps:
- name: Update dependencies
uses: technote-space/create-pr-action@v1
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXECUTE_COMMANDS: |
npx npm-check-updates -u --packageFile package.json
yarn install
Expand Down