GitHub fine-grained personal access tokens play nicely with Tokens(classic) which is nice. So no code refactoring required if you’re using https://github.com/octokit/octokit.js.


Invoke GitHub actions manfully with workflow_dispatch

name: Create Empty Daily Note
on:
  # run workflow every morning at 6AM
  schedule:
    - cron: "0 6 * * *"
  # run this workflow manually from the github Actions tab
  workflow_dispatch: