Skip to content

Commit a26a1b9

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

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
@@ -49,6 +49,9 @@ jobs:
4949
hosters: '[{"name": "Hoster Test One", "url": "https://example.com/hoster1"}, {"name": "Hoster Test Two", "url": "https://example.com/hoster2"}]'
5050
speakers: '[{"name": "Speaker One", "url": "https://example.com/speaker1"}, {"name": "Speaker Two", "url": "https://example.com/speaker2"}]'
5151
should-fix: false
52+
google-credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}
53+
google-parent-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_FOLDER_ID }}
54+
google-template-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_TEMPLATE_FOLDER_ID }}
5255
github-token: ${{ secrets.GITHUB_TOKEN }}
5356

5457
- name: Assert
@@ -98,6 +101,9 @@ jobs:
98101
speakers: '[{"name": "Speaker One", "url": "https://example.com/speaker1"}, {"name": "Speaker Two", "url": "https://example.com/speaker2"}]'
99102
should-fix: false
100103
fail-on-error: false
104+
google-credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}
105+
google-parent-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_FOLDER_ID }}
106+
google-template-folder-id: ${{ vars.GOOGLE_DRIVE_MEETUP_TEMPLATE_FOLDER_ID }}
101107
github-token: ${{ secrets.GITHUB_TOKEN }}
102108

103109
- 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)