.clasp.json will be overwrited for people using clasp to upload GAS to their own projects
@jpoehnelt đang làm issue này rồi.
Từ ngày 3/12/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Summary
The .clasp.json files contain the GAS project IDs only accessible inside Google. (example)
However, people using clasp CLI to push to their GAS project ID will need to overwrite these files.
What I think it might be better in either way:
add .clasp.json in .gitignore file but it will not work since this file is required for your Github Actions Workflow.- rename the Google-only accessible
.clasp.jsonto other filename instead of default.clasp.json, while rename them back to.clasp.jsonbefore executingclasp push -f(link) inside your Github Action Workflow
Expected Behavior
People not work at Google can clone/commit this repo without overwriting this .clasp.json file.
Actual Behavior
Everyone outside Google needs to overwrite this .clasp.json file to run the clasp push to their GAS project.
Steps to Reproduce the Problem
- login with personal gmail account
- create a new Google Sheet and retrieve the GAS project ID through Extensions > Apps Script menu
- Go to Project Settings to retrieve Script ID
- Overwrite the
scriptIDwithin solutions/automations/mail-merge/.clasp.google-only.json - run
clasp pushunder solutions/automations/mail-merge/ directory
But I have no idea how Googlers use these .clasp.json files, so feel free to provide any other idea, thanks!
- Ngôn ngữ chính
- JavaScript
- Star
- 5.2k
- Fork
- 2k
- 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
- 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 googleworkspace/apps-script-samples
-
Alvin Litana MirasolĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
googleworkspace/apps-script-samples#659 · 1 bình luận · 1 reaction ·
-
Password resetĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
googleworkspace/apps-script-samples#654 · 2 reaction ·
-
cod gsĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
googleworkspace/apps-script-samples#651 · 1 reaction ·
-
tespogromeĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
googleworkspace/apps-script-samples#624 · 1 reaction ·
-
Get_order_manually.gsCó thể làm lại được @vinay-google đã nhận 245 ngày trước và không có pull request nào đang mở. Đang mở
googleworkspace/apps-script-samples#616 · 1 người được giao ·
Tất cả issue của googleworkspace/apps-script-samples
Issue tương tự
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
andromarces/agent-loops#886 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:low model:light plan planner:gpt-6-1-sol tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
B: visual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
FreeTubeApp/FreeTube#9929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐛 Bug: `--clear-screen` not very useful (at least not for dealing with large test/error output)Đang mởstatus: in triage type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
mochajs/mocha#6428 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fixed-position outer <svg> lands outside a clip after scroll; fixed HTML boxes are re-anchoredĐang mở🔧 in development
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100