mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
chore: remove output
This commit is contained in:
parent
c1338d26a6
commit
0fe8611ece
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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user