SyntaxError: Unexpected string

Đang mở
#292 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, yaml
Lĩnh vực
ci-cd

Hướng nghiên cứu

Start with the linked action logs, .github/mini_flows/s1_mandatory_filechanges/action.yml, and .github/workflows/on_push_to_master.yaml; reproduce the failure after changing CHANGELOG.md. Check how the integer or boolean environment value is written and passed between composite actions. Done means the workflow completes without the syntax error and the variable is accessible to the other composite actions.

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

Mô tả

bug

Describe the bug
Getting Error 'Unexpected string' when trying to set an integer on environment variable .not sure why. my goals is to skip tests and other actions if the associated files are not changed

To Reproduce
Steps to reproduce the behavior: either check this action logs and composite action that is part of the main workflow , or:

  1. Clone this repo
  2. add some changes to CHANGELOG.md (any text addition/removal would do)
  3. push to your branch
  4. See error in action.yml

Expected behavior
the variable is setup successfully is able to be accessed by other composite actions

Screenshots
image

Desktop (please complete the following information):

  • OS: ubuntu latest

Additional context
I actually wanted to use boolean variables here, but neither integer nor boolean variable works

Ngôn ngữ chính
TypeScript
Star
5k
Fork
586
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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 actions/github-script

Tất cả issue của actions/github-script

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.