Skip to content
play

GitHub Action

wakatime-gcal-exporter

v1.2.0 Latest version

wakatime-gcal-exporter

play

wakatime-gcal-exporter

Sync wakatime stats to google calender

Installation

Copy and paste the following snippet into your .yml file.

              

- name: wakatime-gcal-exporter

uses: hijiki51/[email protected]

Learn more about this action in hijiki51/wakatime-gcal-exporter

Choose a version

wakatime-gcal-exporter

前日のWakaTimeのログをGoogleカレンダーにイベントとして登録します。

現在TimezoneはAsia/Tokyoのみ対応しています。

Usage

- uses: google-github-actions/[email protected]
  id: auth
  name: Authenticate to Google Cloud
  with:
    workload_identity_provider: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
    service_account: ${{ secrets.SERVICE_ACCOUNT }}
    token_format: access_token
    access_token_scopes: https://www.googleapis.com/auth/calendar
- uses: hijiki51/[email protected]
  with:
    access_token: ${{ steps.auth.outputs.access_token }}
    wakatime-api-key: ${{secrets.WAKATIME_API_KEY}}
    calendar-id: ${{secrets.CALENDAR_ID}}
    timezone: 'Asia/Tokyo' # optional, default: 'Asia/Tokyo'
    color-id: 7 # optional
    project-name-place: 'title' # optional, default: 'title', 'title' or 'description'
    title-override: 'WakaTime' # optional
    projects: | # optional
      project1
      project2