Open tchaikov opened 1 week ago
Workflows already have read and write permissions:
so I'm not sure why they are reported as read-only in the log.
I could create a custom token although it's weird that the default one is not working.
i see. that's indeed weird. i am also using a default token.
see https://github.com/fmtlib/fmt/actions/runs/9616362150/job/26526654984
that's why it failed later
let's compare it with another run with the proper permission, see https://github.com/tchaikov/fmt/actions/runs/9339573823/job/25704121447
so the comment was posted. when the format was wrong.
because, per https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment
so we might want to allow workflow to write to an pull request in https://github.com/fmtlib/fmt/settings/actions: