Skip to content

Conversation

EmilyBourne
Copy link
Member

Add a script which runs via the CI once a month. The script uses OpenAlex to search for all relevant articles. It does this by searching for the keywords "gysela", "gyselax" and "gyselalib" amongst articles published since a given date. The date is 2019-01-01 by default (which corresponds with the most recent article currently indexed), but it is usually equal to the date at which the workflow last ran successfully minus 2 months. It filters the articles found to:

For each of the remaining articles a cite.bib file and an index.md file are created in an appropriately named sub-folder in https://github.com/gyselax/gyselax.github.io/tree/main/content/publication
if any publications are added then a branch is created with these changes and a PR is opened.

If PRs are merged regularly the same article should not appear in more than 1 PR. Once the PR has been created it can be pruned manually before merging if articles were inappropriately added.

@EmilyBourne EmilyBourne requested a review from jbigot September 12, 2025 15:11
@jbigot
Copy link
Member

jbigot commented Sep 17, 2025

I'm no expert, but from my little knowledge, this looks good

@EmilyBourne EmilyBourne merged commit 82aa0e6 into main Sep 18, 2025
EmilyBourne added a commit that referenced this pull request Sep 18, 2025
Add a script which runs via the CI once a month. The script uses OpenAlex to search for all relevant articles. It does this by searching for the keywords "gysela", "gyselax" and "gyselalib" amongst articles published since a given date. The date is 2019-01-01 by default (which corresponds with the most recent article currently indexed), but it is usually equal to the date at which the workflow last ran successfully minus 2 months. It filters the articles found to:
- Remove preprints
- Keep articles with the keyword in the title or abstract
- Keep articles where one of the authors is one of the people in https://github.com/gyselax/gyselax.github.io/tree/main/content/authors

For each of the remaining articles a `cite.bib` file and an `index.md` file are created in an appropriately named sub-folder in https://github.com/gyselax/gyselax.github.io/tree/main/content/publication
if any publications are added then a branch is created with these changes and a PR is opened.

If PRs are merged regularly the same article should not appear in more than 1 PR. Once the PR has been created it can be pruned manually before merging if articles were inappropriately added.
EmilyBourne added a commit that referenced this pull request Sep 18, 2025
Add a script which runs via the CI once a month. The script uses OpenAlex to search for all relevant articles. It does this by searching for the keywords "gysela", "gyselax" and "gyselalib" amongst articles published since a given date. The date is 2019-01-01 by default (which corresponds with the most recent article currently indexed), but it is usually equal to the date at which the workflow last ran successfully minus 2 months. It filters the articles found to:
- Remove preprints
- Keep articles with the keyword in the title or abstract
- Keep articles where one of the authors is one of the people in https://github.com/gyselax/gyselax.github.io/tree/main/content/authors

For each of the remaining articles a `cite.bib` file and an `index.md` file are created in an appropriately named sub-folder in https://github.com/gyselax/gyselax.github.io/tree/main/content/publication
if any publications are added then a branch is created with these changes and a PR is opened.

If PRs are merged regularly the same article should not appear in more than 1 PR. Once the PR has been created it can be pruned manually before merging if articles were inappropriately added.
EmilyBourne added a commit that referenced this pull request Sep 18, 2025
Add a script which runs via the CI once a month. The script uses OpenAlex to search for all relevant articles. It does this by searching for the keywords "gysela", "gyselax" and "gyselalib" amongst articles published since a given date. The date is 2019-01-01 by default (which corresponds with the most recent article currently indexed), but it is usually equal to the date at which the workflow last ran successfully minus 2 months. It filters the articles found to:
- Remove preprints
- Keep articles with the keyword in the title or abstract
- Keep articles where one of the authors is one of the people in https://github.com/gyselax/gyselax.github.io/tree/main/content/authors

For each of the remaining articles a `cite.bib` file and an `index.md` file are created in an appropriately named sub-folder in https://github.com/gyselax/gyselax.github.io/tree/main/content/publication
if any publications are added then a branch is created with these changes and a PR is opened.

If PRs are merged regularly the same article should not appear in more than 1 PR. Once the PR has been created it can be pruned manually before merging if articles were inappropriately added.
EmilyBourne added a commit that referenced this pull request Sep 18, 2025
Add a script which runs via the CI once a month. The script uses OpenAlex to search for all relevant articles. It does this by searching for the keywords "gysela", "gyselax" and "gyselalib" amongst articles published since a given date. The date is 2019-01-01 by default (which corresponds with the most recent article currently indexed), but it is usually equal to the date at which the workflow last ran successfully minus 2 months. It filters the articles found to:
- Remove preprints
- Keep articles with the keyword in the title or abstract
- Keep articles where one of the authors is one of the people in https://github.com/gyselax/gyselax.github.io/tree/main/content/authors

For each of the remaining articles a `cite.bib` file and an `index.md` file are created in an appropriately named sub-folder in https://github.com/gyselax/gyselax.github.io/tree/main/content/publication
if any publications are added then a branch is created with these changes and a PR is opened.

If PRs are merged regularly the same article should not appear in more than 1 PR. Once the PR has been created it can be pruned manually before merging if articles were inappropriately added.
@EmilyBourne EmilyBourne deleted the auto_publication_update branch September 18, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants