Merge all changes
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
||||
|
||||
validate:
|
||||
name: Validate Annotations
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
outputs:
|
||||
has-violations: ${{ steps.validate.outputs.has_violations }}
|
||||
violation-count: ${{ steps.validate.outputs.violation_count }}
|
||||
@@ -205,7 +205,7 @@ jobs:
|
||||
name: Post Report
|
||||
needs: validate
|
||||
if: github.event_name == 'pull_request' && needs.validate.outputs.has-violations == 'true'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
@@ -253,3 +253,4 @@ jobs:
|
||||
issue_number: context.issue.number,
|
||||
body: body
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user