mirror of
https://github.com/immich-app/immich.git
synced 2025-12-06 17:23:10 +03:00
chore: remove output
This commit is contained in:
9
.github/workflows/check-team-approval.yml
vendored
9
.github/workflows/check-team-approval.yml
vendored
@@ -2,10 +2,6 @@ name: Check Team Approval
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
outputs:
|
||||
has_approval:
|
||||
description: 'Whether the PR has approval from a team/admin member'
|
||||
value: ${{ jobs.check-approval.outputs.has_approval }}
|
||||
|
||||
jobs:
|
||||
check-approval:
|
||||
@@ -13,8 +9,6 @@ jobs:
|
||||
permissions:
|
||||
pull-requests: read
|
||||
contents: read
|
||||
outputs:
|
||||
has_approval: ${{ steps.check-review.outputs.has_approval }}
|
||||
|
||||
steps:
|
||||
- name: Check for team/admin review
|
||||
@@ -75,9 +69,6 @@ jobs:
|
||||
}
|
||||
}
|
||||
|
||||
// Set output for the workflow
|
||||
core.setOutput('has_approval', hasValidReview.toString());
|
||||
|
||||
if (!hasValidReview) {
|
||||
console.log('❌ No approved review from team/admin member found');
|
||||
core.setFailed('This pull request requires an approved review from a team or admin member');
|
||||
|
||||
Reference in New Issue
Block a user