Skip to content

Commit

Permalink
make sure canary checkout has fetch-depth:0
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Aug 3, 2023
1 parent 713b892 commit 4adf2b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -38,8 +36,6 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
Expand Down
2 changes: 1 addition & 1 deletion scripts/canary-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ async function updateVersions() {
const packages = await getPackages(cwd);
const config = await readConfig(cwd, packages);
const modifiedChangesets = getRelevantChangesets(config.baseBranch);
console.log({ modifiedChangesets });
const changesets = (await readChangesets(cwd)).filter(change =>
modifiedChangesets.includes(change.id),
);
// const isMain = process.env.GITHUB_REF_NAME?.includes('main');

let vscodeRelease = false;

Expand Down

0 comments on commit 4adf2b4

Please sign in to comment.