Skip to content

Latest commit

 

History

History
162 lines (131 loc) · 20.3 KB

README.md

File metadata and controls

162 lines (131 loc) · 20.3 KB

Readme Pull Requests

ReadmePullRequests is designed to automate the process of updating the README.md file in a GitHub repository whenever a pull request (PR) is created.

In addition to automating the update of the README.md file, the workflow also offers advanced customization options:

  • Bold Selected Repositories: You can choose to highlight specific repositories by making them bold in the README.md file. This allows you to emphasize certain repositories among the list that the workflow generates.

  • Hide Specific Repositories: The workflow provides an option to exclude certain repositories from appearing in the README.md file. This is useful if you want to keep the focus on only the most relevant repositories.

  • Direct Links to Pull Requests: You have the option to include direct links to specific pull requests within the README.md. This feature allows users to quickly access the pull requests associated with the changes, providing more context or facilitating easier navigation.

These features make the workflow highly flexible, allowing you to tailor the content of your README.md file to suit your project's needs while maintaining up-to-date documentation.

Instructions

  1. Add the comment <!-- PULL_REQUESTS --> (entry point) within README.md.

  2. Now you have to create a workflow file.

.github/workflows/ReadmePullRequests.yml

name: Update ReadmePullRequests

on:
  schedule:
    - cron: '*/30 * * * *'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: Update this repo's README with recent activity

    steps:
      - uses: actions/checkout@v2
      - uses: jcabak/ReadmePullRequests@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  1. Create a GitHub token. You have to create a personal access token. You can find more information here.

  2. Go to your repository > Settings > Secrets and variables > Actions > New repository secret Secret part of repository for using it and call it as GH_TOKEN and paste your token in the value part.

The above job runs every half an hour, you can change it as you wish based on the cron syntax.

Override defaults

Use the following input params to customize it for your use case:-

Input Param Default Value Description
boldFavorites true bold favorite repositories
includePullRequestLinks false make url to specific pull request
favoriteRepositories null table for favorites users
ignoredRepositories null table for ignored users
name: Update ReadmePullRequests

on:
  schedule:
    - cron: '*/30 * * * *'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: Update this repo's README with recent activity

    steps:
      - uses: actions/checkout@v2
      - uses: jcabak/ReadmePullRequests@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          boldFavorites: true
          includePullRequestLinks: false
          favoriteRepositories : ['rails', 'microsoft', 'apple', 'home-assistant', 'google', 'raspberry', 'twitter', 'mozilla', 'facebook', 'googlechrome', 'nasa', 'w3c', 'basecamp']
          ignoredRepositories: ['BinaryWorlds', 'LukasJoswiak'];

Closed Pull Requests

Icon User Repository Stars Forks Pull Request
Logo basecamp basecamp kamal-site 61 80 Added subtitles for video
Logo basecamp basecamp kamal-site 61 80 Accessibility and Performance improvements
Logo w3c w3c w3c.github.io 142 42 Performance improvement
Logo Orange-OpenSource Orange-OpenSource Orange-Confort-plus 45 25 fix typos
Logo inclusive-design inclusive-design wecount.inclusivedesign.ca 8 20 fix: sufficient contrast (resolves #1739)
Logo simple-login simple-login website 45 33 Added variables. Texts were permanently assigned.
Logo rails rails website 78 111 Accessibility and Performance improvements
Logo EbookFoundation EbookFoundation free-programming-books 348766 62689 fix typo
Logo microsoft microsoft TypeScript-Website 2267 1394 Performance improvement
Logo joomla joomla accessibility 8 12 fix typos
Logo irdpl irdpl irdpl.github.io 0 1 Accessibility improvements
Logo irdpl irdpl wcag 7 2 poprawki literówek
Logo pa11y pa11y pa11y.github.io 8 14 Add Creative Commons image dimensions to markup to improve CLS
Logo simple-login simple-login website 45 33 SEO, Performance and Accessibility improvements
Logo simple-login simple-login website 45 33 Multilingual
Logo gohugoio gohugoio hugoDocs 1073 1515 Update editors.md
Logo homebridge homebridge homebridge.io 9 5 Accessibility and SEO improvements
Logo swiftlang swiftlang swift-org-website 485 194 SEO improvement
Logo alextselegidis alextselegidis easyappointments 3449 1306 Update Polish language
Logo github github government.github.com 1750 985 Performance and SEO improvements
Logo home-assistant home-assistant home-assistant.io 5878 7501 Accessibility and SEO improvements
Logo google google certificate-transparency-community-site 111 62 Performance improvement
Logo github github training-kit 4416 4363 Accessibility and SEO improvements
Logo niw niw HapticKey 1649 62 Polish localization
Logo raspberrypi raspberrypi documentation 5298 2016 Accessibility and SEO improvements
Logo twitter twitter opensource-website 3048 821 Performance, Accessibility and SEO improvements
Logo instantpage instantpage instant.page-site 14 2 Core Web Vitals Optimization
Logo mozilla mozilla webext-compat-tool 13 12 Accessibility and SEO improvements
Logo mozilla mozilla extension-workshop 103 133 Text remains visible during webfont load
Logo mozilla mozilla webext-compat-tool 13 12 Accessibility and SEO improvements
Logo microsoft microsoft TypeScript-Website 2267 1394 Links to cross-origin destinations are safe
Logo google google docsy 2676 916 Accessibility and SEO improvements
Logo facebook facebook metro 5283 637 Accessibility improvement
Logo facebook facebook react-native-website 1984 4422 Accessibility improvement
Logo gethugothemes gethugothemes dot-hugo 264 148 Accessibility and SEO improvements
Logo nanxiaobei nanxiaobei hugo-paper 2173 503 Added i18n translation - Polish
Logo gohugoio gohugoio hugoDocs 1073 1515 Accessibility and SEO improvements
Logo GoogleChromeLabs GoogleChromeLabs quicklink 11065 407 Accessibility and SEO improvements
Logo GoogleChromeLabs GoogleChromeLabs quicklink 11065 407 Accessibility and SEO improvements
Logo hugo-toha hugo-toha toha 1074 625 Accessibility and SEO improvements
Logo gethugothemes gethugothemes bigspring-light-hugo 207 310 Accessibility and SEO improvements
Logo wangchucheng wangchucheng hugo-eureka 928 193 Accessibility and SEO improvements
Logo wangchucheng wangchucheng hugo-eureka 928 193 add polish i18n support
Logo wangchucheng wangchucheng hugo-eureka 928 193 Accessibility improvements
Logo microsoft microsoft vscode-loc 587 309 fix typo
Logo michalczukm michalczukm michalczukm.xyz 0 1 Accessibility improvements
Logo ojroques ojroques hugo-researcher 238 129 Accessibility and SEO improvements
Logo escalate escalate hugo-split-theme 77 91 Accessibility and SEO improvements
Logo GoogleChrome GoogleChrome workbox 12493 829 Update README.md
Logo google google certificate-transparency-community-site 111 62 Accessibility and SEO improvements
Logo sindresorhus sindresorhus caprine 7097 577 Fix "Hide Names and Avatars"
Logo microsoft microsoft TypeScript-Website-Localizations 118 132 fix typo
Logo nasa nasa instructions 341 58 Improved accessibility, performance and SEO
Logo GoogleChrome GoogleChrome developer.chrome.com 1663 1571 Accessibility improved
Logo responsively-org responsively-org website 23 48 Reduces images file sizes
Logo responsively-org responsively-org website 23 48 Accessibility improved
Logo responsively-org responsively-org responsively-app 22959 1214 Add tooltip to icons on left panel

Open Pull Requests

Icon User Repository Stars Forks Pull Request
Logo w3c w3c wai-website 71 392 fix typos for Polish language
Logo simple-login simple-login website 45 33 Added Polish translation
Logo govtech-polska govtech-polska fact_checking_portal 1 2 Accessibility improvements
Logo letsencrypt letsencrypt website 861 575 Accessibility and SEO improvements
Logo iina iina iina-website 127 30 Accessibility and SEO improvements