https://github.com/benekenobi/enable-dependabot-auto-merge
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: BeneKenobi
- Language: Python
- Default Branch: main
- Size: 156 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Enable Dependabot Auto-Merge
This Python script automates several GitHub repository management tasks, including cloning a repository, setting up a workflow for Dependabot auto-merges.
Features
- Clones a GitHub repository.
- Creates necessary folder structures for GitHub actions.
- Copies a Dependabot auto-merge workflow into the repository.
- Commits changes and pushes them to a new branch.
- Creates a pull request and assigns user.
Requirements
- Python 3.10+
- Poetry for dependency management
Installation
- Clone this repository:
bash
git clone <repository-url>
- Install the required packages using Poetry:
bash
poetry install
Environment Setup
Before running the script, you need to set up the following environment variables in a .env file in the root directory of the project:
GITHUB_TOKEN: A GitHub access token for authentication with GitHub API and repository operations.GITHUB_USERNAME: Your GitHub username.COMMIT_USER: The name to be used for commits.COMMIT_EMAIL: The email to be used for commits.
Example of .env content:
GITHUB_TOKEN=your_token_here
GITHUB_USERNAME=your_username_here
COMMIT_USER=your_commit_name_here
COMMIT_EMAIL=your_commit_email_here
Usage
Run the script with the URL of the GitHub repository you want to process:
bash
poetry run python src/main.py <repo_url>
Replace <repo_url> with the actual URL of the GitHub repository.
Contributing
Contributions are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
MIT
Owner
- Name: Benedikt Schnur
- Login: BeneKenobi
- Kind: user
- Location: Germany
- Company: @MHH-Humangenetik
- Repositories: 7
- Profile: https://github.com/BeneKenobi
GitHub Events
Total
- Delete event: 2
- Push event: 2
- Pull request event: 4
Last Year
- Delete event: 2
- Push event: 2
- Pull request event: 4