DJ Adams

So I've got the bare minimum set up for this journal

Setting up the thinking-aloud repo with an Atom feed, labels, and a GitHub Actions workflow.

Originally a short post in the Thinking Aloud journal.

So I've got the bare minimum set up for this journal, in the thinking-aloud repository:

This was a pleasant few hours messing around on a day off. Well, I say pleasant, there was one unpleasant part which was trying (and failing) to parse and use the output from the octokit/request-action.

The silver lining in this though is that I realised that I could just use the gh CLI, as long as I supply the GITHUB_TOKEN env var with the appropriate (and auto-generated) secret value, like this:

- name: Generate feed
  env:
    GITHUB_TOKEN: $
  run: |
    gh api "/repos/${GITHUB_REPOSITORY}/issues?sort=created&direction=descending" \
      | ./feed \
      | tee feed.xml

If you're interested in following these journal entries, add the feed URL to your favourite feed reader: https://raw.githubusercontent.com/qmacro/thinking-aloud/main/feed.xml, and if you want to comment on any of the entries, you can do so in the comments to the corresponding issue.