openjournals / buffy

Editorial bots generator
https://buffy.readthedocs.io
MIT License
22 stars 18 forks source link

Adding issue_title to production settings. #95

Closed arfon closed 1 year ago

arfon commented 1 year ago

Adding the paper similarity search requires the issue_title to be available to the GitHub Action inputs (see https://github.com/openjournals/joss-papers/blob/master/.github/workflows/draft-paper.yml#L14-L16)

This PR attempts to add this!

arfon commented 1 year ago

Looks like this isn't the right change.

What I'm trying to accomplish here @xuanxu is make sure that the Action is triggered with an input parameter that includes issue_title (which is needed for the paper similarity step): https://github.com/openjournals/joss-papers-testing/blob/main/.github/workflows/draft-paper.yml#L49-L52

I'm going to revert the change to the action in joss-papers until we can get this input param added as it has broken the current generate pdf workflow 😬

xuanxu commented 1 year ago

Code updated. I'm closing this PR in favor of this one that only includes the parameter in the call to the draft workflow, as it is not needed in the other workflows.