Jones Lab Hatlab |
evmckinney9 / python-template Goto Github PK
View Code? Open in Web Editor NEWMy opinionated python boilerplate
License: MIT License
My opinionated python boilerplate
License: MIT License
:)
See https://github.com/Qiskit/qiskit_sphinx_theme/ for more info :)
Current Behavior
Removing the rename flag file doesn't stop the next commit from calling rename again, because calling exit just steps the current step but continues with the rest of the action.
Possible Solution
It seems that the best approach would be to separate your workflow into two jobs. The first job will check if the repository is called /python-template and if the flag file exists. The second job will depend on the first and will only execute if the checks from the first job are successful.
Current Behavior
There are 2 different ways to get the name of the author. I use github.actor
because if inside an organization want the name of the person who created the repo instead of the organization name. However github.actor
actually refers to username not first last name, which is how the method repository.owner.name
works.
Input Code
.github/scripts/rename_project.sh -a "${{ github.actor }}" \
-n $REPO_NAME \
-u "$(echo $INFO | jq -r .repository.owner.login)" \
-d "$(echo $INFO | jq -r .repository.description)"
.github/scripts/rename_project.sh -a "$(echo $INFO | jq -r .repository.owner.name)" \
-n $REPO_NAME \
-u "$(echo $INFO | jq -r .repository.owner.login)" \
-d "$(echo $INFO | jq -r .repository.description)"
Inconsistent styling. Not sure what is best fix yet.
Current Behavior
The default assignee is evmckinney9
. I could make this dynamic with the renaming script; except, currently I forbid the script to go inside .github
.
Fix the file traversal condition, then change the issue assignee to be the owner.
Currently,
echo "# $project_name
$project_description" > README.md
but this loses
![Tests](https://github.com/{username}/{repo-name}/actions/workflows/tests.yml/badge.svg?branch=main)
![Format Check](https://github.com/{username}/{repo-name}/actions/workflows/format-check.yml/badge.svg?branch=main)
I think this is a very easy fix; except for if it belongs to an organization. I just need to figure out a more direct way to get the full URL of the repo.
When using template, there are now many places that need to be immediately updated to work. For example, package-name, python-version, {username/repo}. Is there a way to write all these only once and propagate the changes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.