Skip to content

Update and rename topic.yml to followup.yml #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/followup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Generate Followup Metrics

on:
schedule:
- cron: "0 0 * * *" # 5:30 AM IST
- cron: "30 5 * * *" # 10:00 AM IST
- cron: "30 11 * * *" # 4:00 PM IST
workflow_dispatch:

jobs:
generate-metrics:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y docker.io jq

- name: Generate Metrics SVG
uses: lowlighter/metrics@latest
with:
filename: SVG/followup.svg
token: ${{ secrets.GH_METRICS_TOKEN }}
user: iamAntimPal
base: ""
template: classic
config_timezone: Asia/Kolkata
plugin_followup: yes
plugin_followup_sections: repositories, user
plugin_followup_indepth: yes
plugin_followup_archived: no

- name: Commit and Push Changes
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b update-followup-metrics
git add SVG/followup.svg
git commit -m "Update followup.svg [skip ci]"
git push origin update-followup-metrics

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GH_METRICS_TOKEN }}
branch: update-followup-metrics
title: "chore: update followup metrics"
body: "Auto-generated followup metrics SVG"
36 changes: 0 additions & 36 deletions .github/workflows/topic.yml

This file was deleted.