Skip to content

Commit

Permalink
Merge branch 'canary' into upgrade/webpack-5
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Jan 26, 2021
2 parents 144eea0 + 35efe8d commit acaff0b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
docsChange: ${{ steps.docs-change.outputs.DOCS_CHANGE }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 25

- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- run: yarn install --frozen-lockfile --check-files
- run: node run-tests.js --timings --write-timings -g 1/1
Expand Down Expand Up @@ -136,6 +139,8 @@ jobs:
YARN_COMPRESSION_LEVEL: '0'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 25

- run: echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change')
id: docs-change
Expand Down Expand Up @@ -164,6 +169,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 25

- run: echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change')
id: docs-change
Expand All @@ -187,6 +194,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 25

- run: echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change')
id: docs-change
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Cancel
on:
pull_request_target:
branches-ignore:
# don't run cancel job for branches named canary until
# it no longer cancels the main canary branches jobs
- canary
types:
- edited
- synchronize
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull_request_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 25

- run: echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change')
id: docs-change
- uses: ./.github/actions/next-stats-action
Expand Down
2 changes: 1 addition & 1 deletion skip-docs-change.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function main() {
await exec('git fetch origin canary')

const { stdout: changedFilesOutput } = await exec(
'git diff origin/canary --name-only'
'git diff origin/canary... --name-only'
)
const changedFiles = changedFilesOutput
.split('\n')
Expand Down

0 comments on commit acaff0b

Please sign in to comment.