This repository was archived by the owner on Jun 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "scriptId" : " 1CXDCY5sqT9ph64fFwSzVtXnbjpSfWdRymafDrtIZ7Z_hwysTY7IIhi7s" ,
3+ "rootDir" : " src/" ,
4+ "fileExtension" : " gs"
5+ }
6+
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ name : release-please
6+ jobs :
7+ release-please :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : google-github-actions/release-please-action@v3
11+ with :
12+ release-type : node
13+ package-name : release-please-action
14+ - uses : actions/checkout@v2
15+ if : ${{ steps.release.outputs.pr }}
16+ - uses : actions/setup-node@v1
17+ if : ${{ steps.release.outputs.release_created }}
18+ with :
19+ node-version : 16
20+ - name : Write test credentials
21+ if : ${{ steps.release.outputs.release_created }}
22+ run : |
23+ echo "${CLASP_CREDENTIALS}" > "${HOME}/.clasprc.json"
24+ env :
25+ CLASP_CREDENTIALS : ${{secrets.LIBRARIES_OWNER_CLASP_TOKEN}}
26+ - name : Depoy scripts
27+ if : ${{ steps.release.outputs.release_created }}
28+ run : |
29+ npx @google/clasp push
30+ npx @google/clasp version
Original file line number Diff line number Diff line change 1+ on : [pull_request]
2+ name : Update dist folder
3+ jobs :
4+ update-dist-src :
5+ if : |
6+ ${{ contains(github.event.pull_request.labels.*.name, "autorelease: pending") }}
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ with :
11+ ref : ${{ github.event.pull_request.head.ref }}
12+ token : ${{ secrets.GOOGLEWORKSPACE_BOT_TOKEN }}
13+ - uses : actions/setup-node@v1
14+ with :
15+ node-version : 16
16+ - name : Install dependencies
17+ run : npm ci
18+ - name : Generate dist
19+ run : npm run dist
20+ - name : Check for modified files
21+ id : git-check
22+ run : echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
23+ - name : Push changes
24+ if : steps.git-check.outputs.modified == 'true'
25+ run : |
26+ git config --global user.name 'Google Workspace Bot'
27+ git config --global user.email 'googleworkspace-bot@google.com'
28+ git commit -am "chore: Update dist/ directory"
29+ git push
Original file line number Diff line number Diff line change 1+ {
2+ "timeZone" : " America/New_York" ,
3+ "dependencies" : {
4+ "libraries" : [{
5+ "userSymbol" : " Underscore" ,
6+ "libraryId" : " 1I21uLOwDKdyF3_W_hvh6WXiIKWJWno8yG9lB8lf1VBnZFQ6jAAhyNTRG" ,
7+ "version" : " 24"
8+ }]
9+ },
10+ "exceptionLogging" : " STACKDRIVER"
11+ }
You can’t perform that action at this time.
0 commit comments