Closed ocular-motor-lab closed 1 year ago
Thanks for the contribution, and good spotting! This is new functionality for GitHub Actions, I think. Not sure when it was introduced, but it would break the script for sure.
Maybe instead of a note in the README, we could set the permissions in the main.yml
action file. According to these docs, adding a section like
permissions:
contents: write
might do the trick, and then there wouldn’t be any further manual intervention required. If you’re able to make that change I will happily merge that in — otherwise I will take a look later this week, when I get a chance.
Can be closed if https://github.com/timovv/notion-website-template/pull/11 is merged.
@ocular-motor-lab by the way, thanks for creating this PR. If you didn't bring up this topic here, I'd probably spend way more time trying to figure out this issue.
Thanks all, I have a terrible memory these days it seems, and never got around to actually do what I promised.
It took me a while to realize that the actions needed read and write permissions. So, I think it would be good to add it here.