File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020SCOPES=(
2121 " https://www.googleapis.com/auth/drive"
2222 " https://www.googleapis.com/auth/drive.activity"
23+ " https://www.googleapis.com/auth/drive.appdata"
2324 " https://mail.google.com/"
2425 " https://www.googleapis.com/auth/classroom.courses"
2526 " https://www.googleapis.com/auth/classroom.announcements"
4142
4243printf -v EXPANDED_SCOPES ' %s,' " ${SCOPES[@]} "
4344gcloud auth application-default login \
44- --client-id-file=client_secret.json \
45+ --client-id-file=" $CLIENT_ID_FILE " \
4546 --scopes=" ${EXPANDED_SCOPES} "
4647
4748cat " ${HOME} /.config/gcloud/application_default_credentials.json"
Original file line number Diff line number Diff line change 55 branches : [ master ]
66 pull_request :
77 branches : [ master ]
8+ workflow_dispatch :
9+ branches : [ master ]
810
911jobs :
1012 test :
13+ concurrency :
14+ group : ${{ github.head_ref || github.ref }}
15+ cancel-in-progress : true
1116 # Only run for internal PRs or after a merge
1217 if : ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
1318 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1919 pull_request :
2020 branches :
2121 - master
22+ workflow_dispatch :
23+ branches : [ master ]
24+
2225jobs :
2326 lint :
2427 concurrency :
You can’t perform that action at this time.
0 commit comments