Git Product home page Git Product logo

Comments (4)

tuunit avatar tuunit commented on June 3, 2024 1

@tushar5526

A solution I can propose to you is the following:

  1. You can run the action multiple times (once for each bot)
  2. Write the output to different files using the TARGET_FILE input Parameter
  3. Run a simple step in the end to concatenate everything inside the orgs readme

Pseudo code:

- name: Bot1 Activity
  uses: [email protected]
  with:
    GH_USERNAME: bot1
    TARGET_FILE: bot1.md
.
.
.
- name: Concatenate README.md
  run: |
       # first cat overwrites the current content and all following statements append
       cat bot1.md > README.md
       cat bot2.md >> README.md
       cat bot3.md >> README.md

- name: push
  uses: github-actions-x/[email protected]
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}
    push-branch: 'master'
    commit-message: 'update bots activity'
    rebase: 'true'

from github-activity-readme.

tuunit avatar tuunit commented on June 3, 2024

My concern is about feature creep. This Action is simple their to give other people some idea about what you are currently working on and not meant for tracking other or multiple accounts? What's your opinion about this @jamesgeorge007? Same goes for #109

from github-activity-readme.

tushar5526 avatar tushar5526 commented on June 3, 2024

Oh, I currently maintain a bot named pep8speaks that comments on PRs with linting changes. As the bot is used by a lot of projects, we were planning to showcase the bot's recent activity on the README of the project.

The feature to track multiple accounts comes from the idea of having a common Readme on the org's page to showcase all the bots that we have.

from github-activity-readme.

jamesgeorge007 avatar jamesgeorge007 commented on June 3, 2024

I agree with @tuunit. This is a very niche use case and will lead to unnecessary complexity, given that the underlying library doesn't support it out of the box. Let's keep this open and see if there are similar interests.

from github-activity-readme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.