Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/parthjohri/github-mergedpr-readme

With the help of github actions, this would fetch your latest Merged PRs with the help of GitHub API.
https://github.com/parthjohri/github-mergedpr-readme

github-action python3

Last synced: 4 days ago
JSON representation

With the help of github actions, this would fetch your latest Merged PRs with the help of GitHub API.

Awesome Lists containing this project

README

        

# Merge PRs GitHub Action

#### You can watch it in action on my [GitHub Profile](https://github.com/ParthJohri/ParthJohri)

1. 🥳 Merged PR [379](https://github.com/pymc-labs/CausalPy/pull/379) - [pymc-labs/CausalPy](https://github.com/pymc-labs/CausalPy)
2. 🎉 Merged PR [876](https://github.com/glasskube/glasskube/pull/876) - [glasskube/glasskube](https://github.com/glasskube/glasskube)
3. 🎊 Merged PR [50](https://github.com/pinacai/PINAC_Workspace/pull/50) - [pinacai/PINAC_Workspace](https://github.com/pinacai/PINAC_Workspace)
4. 🥂 Merged PR [2](https://github.com/ManasviGaur/Vegetable-freshness-detection/pull/2) - [ManasviGaur/Vegetable-freshness-detection](https://github.com/ManasviGaur/Vegetable-freshness-detection)
5. 🙌🏼 Merged PR [1](https://github.com/parth782/Movie-Recommendation/pull/1) - [parth782/Movie-Recommendation](https://github.com/parth782/Movie-Recommendation)

## Step-by-Step Guide to Set Up GitHub Action for Merging PRs

### How to Use?

1. Go to your Profile `README` Repository and create the `.github/workflows/action.yml` file with the provided configuration.
2. Add main.py on your Profile `README` Repository, and replace your username with ```ParthJohri```

```
url = "https://api.github.com/search/issues?q=is:pr+author:ParthJohri+is:merged"
```
3. Add requirements.txt on your Profile `README` Repository.
4. Ensure your Profile `README.md` contains the below comments, to show your merged PRs in your Profile ReadME:
```

1. 🥳 Merged PR [379](https://github.com/pymc-labs/CausalPy/pull/379) - [pymc-labs/CausalPy](https://github.com/pymc-labs/CausalPy)
2. 🎉 Merged PR [876](https://github.com/glasskube/glasskube/pull/876) - [glasskube/glasskube](https://github.com/glasskube/glasskube)
3. 🎊 Merged PR [50](https://github.com/pinacai/PINAC_Workspace/pull/50) - [pinacai/PINAC_Workspace](https://github.com/pinacai/PINAC_Workspace)
4. 🥂 Merged PR [2](https://github.com/ManasviGaur/Vegetable-freshness-detection/pull/2) - [ManasviGaur/Vegetable-freshness-detection](https://github.com/ManasviGaur/Vegetable-freshness-detection)
5. 🙌🏼 Merged PR [1](https://github.com/parth782/Movie-Recommendation/pull/1) - [parth782/Movie-Recommendation](https://github.com/parth782/Movie-Recommendation)

```
5. By default the cron jobs runs every 6 hours or you can also manually start it. You can also make use of [Cron Tab](https://crontab.guru/) to change the cron job time as per your requirement.

## Contributing to This Project

Thank you for your interest in contributing to this project! Here are some guidelines to help you get started:

1. Fork the repository on GitHub.
2. Clone your fork to your local machine:
```
git clone https://github.com/your-username/Merge-PRs-GitHub-Action.git
```
3. Create a new branch for your feature or bugfix:
```
git checkout -b my-feature-branch
```
4. Make your changes and commit them with a descriptive message:
```
git commit -m "Description of your changes"
```
5. Push your branch to GitHub:
```
git push origin my-feature-branch
```

### Submitting Your Changes

1. Go to the repository on GitHub and create a pull request.
2. Describe your changes and what they do.

## Acknowledgements
Inspired by [jamesgeorge007/github-activity-readme](https://github.com/jamesgeorge007/github-activity-readme)