fix(api-breaking-changes): add better comment identifier (#32268)
* fix(api-breaking-changes): add better comment identifier Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com> * only update workflow Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com> * test change Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com> * add breaking change Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com> * revert schema changes Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com> --------- Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -115,7 +115,7 @@ jobs:
|
||||
with:
|
||||
issue-number: ${{ needs.setup.outputs.pr-number }}
|
||||
comment-author: 'github-actions[bot]'
|
||||
body-includes: API changes
|
||||
body-includes: api-breaking-changes-comment
|
||||
direction: last
|
||||
|
||||
- name: Create or Update Comment with API Changes
|
||||
|
||||
@@ -40,6 +40,7 @@ jobs:
|
||||
- name: breaking changes check
|
||||
run: |
|
||||
yarn backstage-repo-tools repo schema openapi diff --since origin/${{ github.base_ref }} > comment.md
|
||||
echo "<!-- api-breaking-changes-comment -->" >> comment.md
|
||||
|
||||
- name: clone artifacts to current directory
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user