From 1c97d06f4e58553c18f44929f222f8ebc6a64e2c Mon Sep 17 00:00:00 2001 From: technote-space Date: Thu, 23 Jan 2020 15:01:04 +0000 Subject: [PATCH 1/4] chore: sync workflows --- .github/workflows/update-dependencies.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index bba5570..c6768ad 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -3,10 +3,12 @@ on: - cron: 0 17 * * 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: From 336d408d446a10001bcd702cc22c60b5c007352c Mon Sep 17 00:00:00 2001 From: technote-space Date: Fri, 24 Jan 2020 04:51:44 +0000 Subject: [PATCH 2/4] chore: sync workflows --- .github/workflows/toc.yml | 1 + .github/workflows/update-dependencies.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index 2d4aded..8f4a83b 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -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/ diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index c6768ad..bcb0510 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -16,6 +16,7 @@ jobs: 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 From 0fe90779d498080afe1ba19b4784e1ce4fda559a Mon Sep 17 00:00:00 2001 From: technote-space Date: Fri, 24 Jan 2020 05:39:44 +0000 Subject: [PATCH 3/4] chore: sync workflows --- .github/workflows/ci.yml | 4 +++- .github/workflows/pr_opened.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9d1812..0e05dc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,9 @@ jobs: PREFIX_FILTER: | src/ __tests__/ - SUFFIX_FILTER: .js + SUFFIX_FILTER: | + .js + .snap FILES: | yarn.lock jest.config.js diff --git a/.github/workflows/pr_opened.yml b/.github/workflows/pr_opened.yml index bbda2c6..3645df7 100644 --- a/.github/workflows/pr_opened.yml +++ b/.github/workflows/pr_opened.yml @@ -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 }} From 7d14846af8fa2cb219d3eb7f834f978a22f6c4cb Mon Sep 17 00:00:00 2001 From: technote-space Date: Fri, 24 Jan 2020 12:51:04 +0000 Subject: [PATCH 4/4] chore: sync workflows --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c505e72..00159ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,8 @@ on: push: tags: - 'v*' + repository_dispatch: + types: [release] name: Release @@ -17,6 +19,7 @@ jobs: - name: Get Yarn Cache Directory id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" + if: github.event_name != 'repository_dispatch' - name: Cache node dependencies uses: actions/cache@v1 with: @@ -24,6 +27,7 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- + if: github.event_name != 'repository_dispatch' - name: Install Package dependencies run: yarn install - name: Test @@ -39,6 +43,7 @@ jobs: release: name: Publish Package runs-on: ubuntu-latest + if: github.event_name != 'repository_dispatch' strategy: matrix: target: ['npm'] @@ -111,6 +116,7 @@ jobs: - name: Get Yarn Cache Directory id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" + if: github.event_name != 'repository_dispatch' - name: Cache node dependencies uses: actions/cache@v1 with: @@ -118,6 +124,7 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- + if: github.event_name != 'repository_dispatch' - name: Install Package dependencies run: yarn install - name: Build @@ -146,6 +153,7 @@ jobs: name: Upload build files needs: test runs-on: ubuntu-latest + if: github.event_name != 'repository_dispatch' steps: - name: Checkout uses: actions/checkout@v2