Skip to content

Create new “Now Now” entries easily

Notifications You must be signed in to change notification settings

git-things-done/new-now-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

“New ‘Now Now’” for Git Things Done

This action can be controlled externally to facilitate easy creation of new “Now Now”s.

iOS/macOS Shortcuts

We provide shortcuts that you can “duplicate” to facilitate this.

  1. Duplicate
  2. Add to Homescreen/Dock/Menubar
  3. Tap/Click to add new items to the “Now Now” list1

image

The action even appears in the share sheet so you can easily share eg. tweets:

share-sheet

Desired Features

  • Should be easier to set up (the PAT is tedious)
  • Both the action and our shortcut should support choosing priority

Setting Up

NOTE if you forked our template you will already have this.

You need .github/workflows/new-now-now.yml in your GitTD repo containing:

name: New “Now Now”
on:
  repository_dispatch:
    types: new-now-now
jobs:
  new-now-now:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0  #FIXME needed so we can get the CURRENT issue below

      - run: echo "CURRENT=$(git show origin/gh-pages:CURRENT)" >> $GITHUB_ENV

      - uses: git-things-done/new-now-now@v1
        with:
          today: ${{ env.CURRENT }}
          body: ${{ github.event.client_payload.body }}

Footnotes

  1. Please note, the shortcut will request a Personal Access Token with repo scope.