Skip to content

Commit cf243a9

Browse files
committed
feat: add drive link fix behavior
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 4472981 commit cf243a9

15 files changed

Lines changed: 750872 additions & 19223 deletions

.github/workflows/__check-action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ jobs:
4646
hosters: '[{"name": "Hoster Test One", "url": "https://example.com/hoster1"}, {"name": "Hoster Test Two", "url": "https://example.com/hoster2"}]'
4747
speakers: '[{"name": "Speaker One", "url": "https://example.com/speaker1"}, {"name": "Speaker Two", "url": "https://example.com/speaker2"}]'
4848
should-fix: false
49+
google-credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}
50+
google-parent-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_FOLDER_ID }}
51+
google-template-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_TEMPLATE_FOLDER_ID }}
4952
github-token: ${{ secrets.GITHUB_TOKEN }}
5053

5154
- name: Assert
@@ -90,6 +93,9 @@ jobs:
9093
speakers: '[{"name": "Speaker One", "url": "https://example.com/speaker1"}, {"name": "Speaker Two", "url": "https://example.com/speaker2"}]'
9194
should-fix: false
9295
fail-on-error: false
96+
google-credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}
97+
google-parent-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_FOLDER_ID }}
98+
google-template-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_TEMPLATE_FOLDER_ID }}
9399
github-token: ${{ secrets.GITHUB_TOKEN }}
94100

95101
- name: Assert

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ inputs:
3333
github-token:
3434
description: "The GitHub token with permissions to update the issue."
3535
required: true
36+
google-credentials:
37+
description: "Google Drive service account credentials JSON for auto-creating drive folders."
38+
required: true
39+
google-parent-folder-id:
40+
description: "Google Drive parent folder ID where meetup folders will be created."
41+
required: true
42+
google-template-folder-id:
43+
description: "Google Drive template folder ID containing files to copy to new meetup folders."
44+
required: true
3645

3746
outputs:
3847
lint-issues:

0 commit comments

Comments
 (0)