Skip to content

Latest commit

 

History

History
139 lines (133 loc) · 4.29 KB

File metadata and controls

139 lines (133 loc) · 4.29 KB
← Back to plugins index

✒️ Recent posts

This plugin displays recent articles from a specified and supported external source.

Supported features
→ Full specification
📗 Classic template 📒 Markdown template 📘 Repository template
👤 Users 👥 Organizations 📓 Repositories
No tokens are required for this plugin
Latest posts width description and cover image
Latest posts

➡️ Available options

OptionDescription

plugin_posts

Enable posts plugin

✨ On master/main
type: boolean
default: no

plugin_posts_source

External source

✨ On master/main
type: string
allowed values:
  • dev.to
  • hashnode

plugin_posts_user

External source username

⏯️ Cannot be preset
✨ On master/main
type: string
default: → User login

plugin_posts_descriptions

Posts descriptions

✨ On master/main
type: boolean
default: no

plugin_posts_covers

Posts cover images

✨ On master/main
type: boolean
default: no

plugin_posts_limit

Display limit

✨ On master/main
type: number (1 ≤ 𝑥 ≤ 30)
default: 4

ℹ️ Examples workflows

name: Recent posts
uses: gh-metrics/metrics@latest
with:
  filename: metrics.plugin.posts.svg
  token: NOT_NEEDED
  base: ""
  plugin_posts: yes
  plugin_posts_source: dev.to
name: Recent posts with descriptions and cover images
uses: gh-metrics/metrics@latest
with:
  filename: metrics.plugin.posts.full.svg
  token: NOT_NEEDED
  base: ""
  plugin_posts: yes
  plugin_posts_source: dev.to
  plugin_posts_limit: 2
  plugin_posts_descriptions: yes
  plugin_posts_covers: yes