Skip to content

A GitHub Action to effortlessly update your README with your latest Google Scholar activity.

License

Notifications You must be signed in to change notification settings

khengyun/readme-scholar-activity

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Scholar README Action

Google Scholar

License

A GitHub Action to effortlessly update your README with your latest Google Scholar activity.

Usage

  • Add the comment <!-- SCHOLAR-LIST:START --><!-- SCHOLAR-LIST:END --> (entry point) within README.md. example
  • It's the time to create a workflow file. .github/workflows/update-readme.yml
name: Update Scholar Activity

on:
  schedule:
    - cron: '0 0 * * *' # Run every day at midnight
  workflow_dispatch:


jobs:
  update_scholar_readme:
    runs-on: ubuntu-latest
    name: Update Scholar README
    permissions: 
      contents: write
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: update readme
        id: update_readme
        uses: khengyun/readme-scholar-activity@main
        with:
          SCHOLAR_ID: 'YpOO60MAAAAJ' # change to your SCHOLAR ID 
          LIMIT: 5 # limit the number of research 
      - uses: EndBug/add-and-commit@v9
        with:
          default_author: github_actions

Inputs

  • SCHOLAR_ID (required): Your Google Scholar user ID.
  • LIMIT : Declare the number of research will be show off

Example Workflow:

This example workflow is scheduled to run every day at midnight and will also trigger on manual actions or pushes to the main branch to update the README with the latest Google Scholar activity.

Author:

khengyun

About

A GitHub Action to effortlessly update your README with your latest Google Scholar activity.

Resources

License

Stars

Watchers

Forks

Packages

No packages published