Comments (4)
A solution I can propose to you is the following:
- You can run the action multiple times (once for each bot)
- Write the output to different files using the
TARGET_FILE
input Parameter - 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.
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.
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.
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)
- Make an empty commit if 50 days have elapsed since the last commit HOT 5
- [ Feature ] Display the date at which the activity happened HOT 3
- Automatically commit re-generated build files on PR push events HOT 4
- `GH_USERNAME` input param is not documented HOT 4
- Actions failing abruptly on upstream repo HOT 2
- My github profile is not updated HOT 2
- Event `undefined` is not supported by this action. HOT 1
- my workflow for recent activity is not working. HOT 11
- option to limit listed events such as PRs
- Support private events in the future? HOT 1
- The action is valid, but the info is not displayed HOT 1
- Is this repository still maintained HOT 1
- [Error] fatal: Error: Invalid status code: 1 HOT 5
- fatal: No PullRequest/Issue/IssueComment events found HOT 1
- ReadMe update failing HOT 7
- Not able to find README.md file HOT 2
- Unable to update README file HOT 6
- Looking for maintainers HOT 3
- The URL generated for `releaseEvent` is invalid HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-activity-readme.