Comments (5)
@fundor333 can you please elaborare what you are suggesting with a minimal example of
- Contents of TEMPLATE.md
- Contents of README.md
- Contents of README.md after the blog post workflow is ran.
from blog-post-workflow.
This is my idea. You have a template clean like this If the config is set. It allways remain in this state. It's an input
TEMPLATE.md
### Hi there
- š Iām currently working on something
- š Iām currently working on something
- š Iām currently working on something
<!-- BLOG-POST-LIST:START -->
<!-- BLOG-POST-LIST:END -->
![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)
![forthebadge](https://forthebadge.com/images/badges/powered-by-electricity.svg)
![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)
![forthebadge](https://forthebadge.com/images/badges/powered-by-electricity.svg)
README is the output of the workflow.
README.md before the blog post workflow is ran
### Hi there
- š Iām currently working on something
- š Iām currently working on something
- š Iām currently working on something
<!-- BLOG-POST-LIST:START -->
* OLD POST
* OLD POST
* OLD POST
<!-- BLOG-POST-LIST:END -->
![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)
![forthebadge](https://forthebadge.com/images/badges/powered-by-electricity.svg)
![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)
![forthebadge](https://forthebadge.com/images/badges/powered-by-electricity.svg)
README.md after the blog post workflow is ran
### Hi there
- š Iām currently working on something
- š Iām currently working on something
- š Iām currently working on something
<!-- BLOG-POST-LIST:START -->
* NEW POST
* NEW POST
* NEW POST
<!-- BLOG-POST-LIST:END -->
![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)
![forthebadge](https://forthebadge.com/images/badges/powered-by-electricity.svg)
![forthebadge](https://forthebadge.com/images/badges/you-didnt-ask-for-this.svg)
![forthebadge](https://forthebadge.com/images/badges/powered-by-electricity.svg)
If you have a complex README or a long one you can edit without having conflict or without "spam" if you have a long output for blog-post-workflow
from blog-post-workflow.
@fundor333 In my opinion, this will add additional confusion to the users. Even if you add this template thing the readme will be committed with the changes. Lets me explain with an example:
- You had 3 blog posts on your blog, following is the state of your readme:
<!-- BLOG-POST-LIST:START -->
* OLD POST
* OLD POST
* OLD POST
<!-- BLOG-POST-LIST:END -->
# Skills
- Java
- You cloned the above project to your local by running:
git clone https://github.com/fundor333/fundor333.git
- Now you have the local clone that is synced with the upstream.
- Lets say you published a new blog post on your site
- blog workflow ran and the following is the change that is made by the workflow:
<!-- BLOG-POST-LIST:START -->
* NEW POST
* OLD POST
* OLD POST
<!-- BLOG-POST-LIST:END -->
# Skills
- Java
- Your locally cloned repo dont have this change it will still have:
<!-- BLOG-POST-LIST:START -->
* OLD POST
* OLD POST
* OLD POST
<!-- BLOG-POST-LIST:END -->
# Skills
- Java
- Lets say you updated your local clone with new skill and committed it:
<!-- BLOG-POST-LIST:START -->
* OLD POST
* OLD POST
* OLD POST
<!-- BLOG-POST-LIST:END -->
# Skills
- Java
- CPP
- Now if you try to push it, you may have conflicts.
Its unecessary to implement this feature, Please follow standard git folws. it is a standard git workflow to take the puil and fxing conflicts before committing.
from blog-post-workflow.
also this workflow will update the readme only if you wrote a blog post while you did the local change of the code, it is too unlikely to happen in the most cases. Readme will not be updated all the time when this workflow is run, it will update only if there is a change in the RSS feed.
from blog-post-workflow.
The changes made by the workflow will be also extremely minimal, i dont think that there is no problem in fixing the merge conflicts if you follow the correct git workflow.
Eg: ayushi7rawat/ayushi7rawat@5f65089
from blog-post-workflow.
Related Issues (20)
- [Feature]: Allow ignoring the commit step HOT 2
- [Feature]: Add more debug messages HOT 1
- [Bug]: Cannot read response->item->title HOT 1
- [Bug]: fatal: unable to access HOT 6
- [Bug]: Fails when there is no <title> in <item> HOT 1
- [Bug]: TypeError: Cannot convert object to primitive value HOT 6
- Action throws error after Update HOT 4
- Not working with personal blog website HOT 1
- Question: Custom WorkFlow, Fetch Blog Post HOT 1
- [Bug]: Youtube Thumbnail doesn't load - Content Security Policy (CSP) HOT 5
- remote: Permission to username/username.git denied to github-actions[bot]. HOT 1
- [Bug]: how can we add to a different file instead of readme
- [Bug]: The max_post_count parameter doesn't work for my workflow and feed elements HOT 1
- 403 error from Netlify hosted feeds HOT 1
- [Bug]: Substack RSS Feeds returning 403s? HOT 1
- [New Source]: NAVER
- [Bug]: Node.js 16 out of date. HOT 3
- [Bug]: Medium post count status 0 HOT 3
- [Bug]: WorkFlow failed with 404 error, But I'm sure the website does work HOT 1
- [New Source]: Tistory HOT 2
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 blog-post-workflow.