[SWDEV-527430] Added Major & Minor ABI Breakage Labels

Signed-off-by: Justin Williams <Justin.Williams@amd.com>
Este commit está contenido en:
Justin Williams authored and Arif, Maisam committed 2025-05-05 18:41:46 -05:00
1 padre fe98b8bd63
commit 1d89ec207b
2 files changed
+4 -4

No files matched your search

+2 -2
Ver fichero
@@ -1,4 +1,4 @@
name: ABI Compliance Check
name: Major ABI Compliance Check
on:
pull_request:
@@ -83,7 +83,7 @@ jobs:
source $GITHUB_WORKSPACE/abi_status.txt
if [ "$abi_exit_code" -ne 0 ]; then
echo "ABI check failed, adding ABI BREAKAGE label to PR #${{ github.event.pull_request.number }}"
gh pr edit ${{ github.event.pull_request.number }} --add-label "ABI BREAKAGE"
gh pr edit ${{ github.event.pull_request.number }} --add-label "MAJOR ABI BREAKAGE"
fi
fi
env:
+2 -2
Ver fichero
@@ -1,4 +1,4 @@
name: Strict ABI Compliance Check
name: Minor ABI Compliance Check
on:
pull_request:
@@ -154,7 +154,7 @@ jobs:
if: github.event_name == 'pull_request' && steps.abi-check.outcome == 'failure'
run: |
echo "ABI check failed, adding ABI BREAKAGE label to PR #${{ github.event.pull_request.number }}"
gh pr edit ${{ github.event.pull_request.number }} --add-label "ABI BREAKAGE"
gh pr edit ${{ github.event.pull_request.number }} --add-label "MINOR ABI BREAKAGE"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}