agoda-com / agoda-com/net-loadbalancing

Deploy pipeline failing on PRs opened from forks

Đang mở
#37 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
C#
Star
25
Fork
16
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Bug report

## Describe the bug

The deploy pipeline is failing on PRs opened from forks, because it cannot access API key (secrets are not shared with forks).

Is there a way around it? Or alternatively should we remove this workflow from PRs and have it only on main branch? What's the use-case for publishing from PRs?

## To Reproduce

1. Fork this repo
2. Create a PR with any change
3. Wait for deploy pipeline results - for example: https://github.com/agoda-com/net-loadbalancing/actions/runs/3443243315/jobs/5745853755

## Expected behavior

Pipeline should be green.

## Screenshots

Pipeline is red.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.