.clasp.json will be overwrited for people using clasp to upload GAS to their own projects
@jpoehnelt がすでに取り組んでいます。
2023年12月3日 から。
評価
この issue はまだ評価されていません。
説明
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!
- 主要言語
- JavaScript
- スター
- 5.2k
- フォーク
- 2k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleworkspace/apps-script-samples のほかの issue
-
Alvin Litana Mirasolオープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
googleworkspace/apps-script-samples#659 · コメント 1 件 · リアクション 1 件 ·
-
Password resetオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
googleworkspace/apps-script-samples#654 · リアクション 2 件 ·
-
cod gsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
googleworkspace/apps-script-samples#651 · リアクション 1 件 ·
-
tespogromeオープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
googleworkspace/apps-script-samples#624 · リアクション 1 件 ·
-
Get_order_manually.gs再び着手できるかも @vinay-google が 242 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/apps-script-samples#616 · 担当者 1 名 ·
googleworkspace/apps-script-samples の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
521xueweihan/HelloGitHub#3939 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
aemsites/author-kit#19 ·
-
needs-website-changes
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信