cybershang / ghtrend Goto Github PK
View Code? Open in Web Editor NEWSave Github trending data daily/weekly/monthly to csv.
License: MIT License
Save Github trending data daily/weekly/monthly to csv.
License: MIT License
After several attempts, I've managed to streamline the workflow for building and publishing using OIDC. Here's an overview of the challenges I encountered and the solutions I found:
Issue No.1: Initially, I used the command poetry config pypi-token.pypi <my-token>
. This approach is incorrect in the context of OIDC because it statically sets a PyPI token in the Poetry configuration. When using OIDC, tokens are dynamically generated and provided as environment variables for each workflow run. Static tokens do not align with the dynamic and secure nature of OIDC tokens.
Solution: The correct approach is to use the command poetry -u __token__ -p {PYPI_API_TOKEN}
. This command dynamically sets the PyPI token for each run. This method ensures that the latest, temporary OIDC token is used for each deployment, enhancing security and aligning with the best practices of CI/CD pipelines.
Issue No.2: Consistently using the same release tag led to the triggering of older workflows, resulting in unexpected behavior.
Solution: To ensure that the latest workflow changes are applied, always use a unique release tag for each new release in GitHub. This practice ensures that each release is associated with the correct version of the workflow.
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.