Conversation
Opens issues & commits an ICS calendar file to this repo
e8fcf3f to
e565ed1
Compare
fd61780 to
486a95a
Compare
legoktm
left a comment
There was a problem hiding this comment.
Just did a quick code review (didn't try it out), overall looks good! Did you already try loading an ICS from GitHub with Google Calendar? Or did you have some other integration/hosting in mind?
|
Thanks @legoktm, I think I addressed your comments. I did previously successfully import the generated ICS file into GCal. Thanks for pointing out that we don't need a push token! I've requested the ISSUES_TOKEN over in https://github.com/freedomofpress/infrastructure/issues/5824. Once we have that I think we can take this for a spin. We can keep the |
2bbf9db to
b4ecf18
Compare
|
Thanks @legoktm, this should be ready for another pass. I've tested issue creation (freedomofpress/securedrop-workstation#1364); on running the job a second time, it also correctly detected an existing (closed) issue and did not re-create it. I've removed that Fedora 40 check now, since it doesn't tell us anything new, so it'll be a while til the issue creation job is expected to fire. |
EOL dates can be manually configured, or retrieved from endoflife.date's API. See
eol.yaml.samplein this branch for an example.As a nightly job: Using the token configured in https://github.com/freedomofpress/infrastructure/issues/5824, opens issues. Using write permission, commits an ICS calendar file to the
mainbranch in this repo.Resolves #23
Background
Ready for initial review - commits & issue creation should work once we configure the tokens. We'll need an
ISSUES_TOKENwith access to any repos we want to be able to open issues in, and aPUSH_TOKENwith access to this repo.Code written & co-generated with ChatGPT o3 and Claude Code. Example GitHub action run for
generate-ics: https://github.com/freedomofpress/securedrop-dev/actions/runs/15887471512/job/44802858613I've tested issue creation (including no duplication of existing issues) against a private repo. I've also tested calendar import via GCal.