use base ref instead
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com> Signed-off-by: web-next-automation <web-platform@doordash.com>
This commit is contained in:
committed by
web-next-automation
parent
fe4c26532b
commit
b0b1371075
@@ -36,7 +36,7 @@ jobs:
|
||||
|
||||
- name: breaking changes check
|
||||
run: |
|
||||
yarn backstage-repo-tools repo schema openapi check > comment.md
|
||||
yarn backstage-repo-tools repo schema openapi check --since ${{ github.base_ref }} > comment.md
|
||||
|
||||
- name: Upload Rendered Comment as Artifact
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
|
||||
|
||||
@@ -47,7 +47,7 @@ export async function command(opts: OptionValues) {
|
||||
severity: 0,
|
||||
} as CiRunDetails;
|
||||
for (const pkg of checkablePackages) {
|
||||
const baseRef = opts.since ?? process.env.GITHUB_BASE_REF;
|
||||
const baseRef = opts.since;
|
||||
const { stdout } = await exec(
|
||||
'yarn',
|
||||
['check:api', '--ignore', '--json', '--since', baseRef],
|
||||
|
||||
Reference in New Issue
Block a user