take care for action references that are submodules
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Sử dụng ví dụ ci.yml được tham chiếu để lần theo quá trình phân giải đường dẫn action tương đối, sau đó kiểm tra cách action.yml được tải xuống khi đường dẫn trỏ vào một Git submodule. Hoàn thành khi các local action được lưu trữ trong submodule được nhận diện và các tệp action.yml của chúng được phân giải mà không gặp lỗi tải xuống đã nêu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When we try to resolve the actions, and when there are relative paths, we try to resolve these paths into absolute paths and download the referenced action.
Sometimes the resolved absolute path is referencing a submodule. We aren't aware of that, and try to download the file which means nothing.
A real-world example:
This is part of ci.yml file for apache/airflow repository:
- name: Configure AWS credentials
uses: ./.github/actions/configure-aws-credentials
if: >
github.ref == 'refs/heads/main' && github.repository == 'apache/airflow' &&
github.event_name == 'push'
the configure-aws-credentials is actually a submodule, so we are unable to find the action.yml file beneath it (even though he exists in the submodule)
This is how raven logs looks like:
[+] Found 6 workflows for apache/airflow
[+] Fetching build-images.yml
[+] Fetching ci.yml
[-] Couldn't download the action.yml for the dependent action referenced by './.github/actions/configure-aws-credentials' (Maybe runs a local action that was checked out previously? Maybe the action is executed through a Dockerfile?)
[-] Couldn't download the action.yml for the dependent action referenced by './.github/actions/github-push-action' (Maybe runs a local action that was checked out previously? Maybe the action is executed through a Dockerfile?)
- Ngôn ngữ chính
- Python
- Star
- 748
- Fork
- 46
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CycodeLabs/raven
-
`library` folder not included in the source distributionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởquery-library
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
CycodeLabs/raven#183 · 2 bình luận ·
-
报错Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
CycodeLabs/raven#199 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CycodeLabs/raven#188 · 2 bình luận · 1 reaction ·
-
feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
CycodeLabs/raven#119 · 6 bình luận ·
-
feature indexer
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
CycodeLabs/raven#114 ·
Tất cả issue của CycodeLabs/raven
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Vector35/community-plugins#376 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
py-econometrics/pyfixest#1883 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bad links in rfc5890.htmlĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ietf-tools/rfc2html#81 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
mysql/mysql-operator#60 ·
-
Python: Bug: split_plaintext_paragraph / split_markdown_paragraph can return a chunk larger than max_tokensCó thể đã có người làm @xThreeh đã nhận hôm nay. Đang mởpython triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/semantic-kernel#14566 ·
Maintainer thường phản hồi trong vòng 4 ngày