Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature Request] Add Input Variable To Control PR Review Behavior

Đang mở
#1,965 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, typescript
Lĩnh vực
ci-cd

Hướng nghiên cứu

Bắt đầu bằng cách xác định các định nghĩa input của GitHub Action và đường dẫn gửi pull-request review. Bổ sung coverage cho input tùy chọn mới, giá trị mặc định false của nó và trường hợp các output về violation vẫn khả dụng mà không gửi review; chạy các bài kiểm tra hiện có của Action hoặc các kiểm tra workflow.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Product Area

The “Run Salesforce Code Analyzer” GitHub Action

Your Need or Problem

Currently, if I want to leverage the new num-sev{X}-violations-in-changed-files output variables I have to provide a github token with read access. Doing so leads to the action submitting a review for my PR.

I don't want the action to leave a review, I would simply like to know if there are violations in my changed files so that I can take actions against that in a following step. This is a pain point.

Your Desired Solution

I would like some sort of input variable that lets me disable the code review. This should default to false to ensure that no existing workflows are broken. This would allow me to make use of the newly introduced *in-chaged-files output variables without having a a review submitted via the action itself.

Something along the lines of:

disableReview:
  description: 'Prevents the action from submitting a review even if the github token is provided'
  required: false
  type: 'boolean'
  default: 'false'
Alternatives Considered

No response

Additional Context (Screenshots, Files, etc)

No response

Workaround

No response

Urgency

Moderate

Ngôn ngữ chính
TypeScript
Star
240
Fork
52
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
3

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của forcedotcom/code-analyzer

Tất cả issue của forcedotcom/code-analyzer

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.