qmacro / thinking-aloud

A journal, of sorts.
14 stars 0 forks source link

2021-03-24 15:44:46 So I've got the bare minimum set up for this journ… #2

Open qmacro opened 3 years ago

qmacro commented 3 years ago

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: ${{ secrets.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.

se71 commented 3 years ago

I don't pretend to follow any of that :)

qmacro commented 3 years ago

That's OK, there's a lot of stuff I read that I don't follow. It all adds to the fabric layers of knowledge. Thanks for the comment, I think you're the first!