Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add small link to create new files #24

Merged
merged 2 commits into from
May 15, 2024
Merged

add small link to create new files #24

merged 2 commits into from
May 15, 2024

Conversation

bgruening
Copy link
Member

No description provided.

@arash77
Copy link
Collaborator

arash77 commented May 15, 2024

Should this link redirect to the main branch?

@bgruening
Copy link
Member Author

Is it not?

@arash77
Copy link
Collaborator

arash77 commented May 15, 2024

Yes, it is but if someone wants to create a pr shouldn't it create a new post file in another branch?

@bgruening
Copy link
Member Author

Probably ... we can close that. BUT, a few core people will most likely not work on the commandline. So that would be the easiest way.

You are not processing files on different branches than main. Do you?

@wm75
Copy link
Member

wm75 commented May 15, 2024

image

so this should be doing the right thing.

Would be nice if we could prefill the text with the template content.

@arash77
Copy link
Collaborator

arash77 commented May 15, 2024

@bgruening @wm75
Thank you I got it.
For template content should we create a git hook file?

@arash77
Copy link
Collaborator

arash77 commented May 15, 2024

By adding this to the end of the URL we can have a template for that file:
&value=---%0Amedia%3A%0A%20 - bluesky%0A%20 - mastodon%0A%20 - matrix%0A%20 - slack%0A%0Aimages%3A%0A%20 - url%3A https%3A%2F%2Fexample.com%2Fa.jpg%0A%20%20%20 alt_text%3A A%0A%20 - url%3A https%3A%2F%2Fexample.org%2Fb.png%0A%20%20%20 alt_text%3A B%0A%0Amentions%3A%0A%20 bluesky%3A%0A%20%20%20 - a.bsky.social%0A%20 mastodon%3A%0A%20%20%20 - a%0A%20 matrix%3A%0A%20%20%20 - a%3Amatrix.org%0A%0Ahashtags%3A%0A%20 bluesky%3A%0A%20%20%20 - a%0A%20%20%20 - b%0A%20 mastodon%3A%0A%20%20%20 - c%0A%20%20%20 - d%0A---%0AYour text content goes here.

arash77
arash77 approved these changes May 15, 2024
@arash77 arash77 merged commit cf885ac into main May 15, 2024
1 check passed
@arash77 arash77 deleted the bgruening-patch-1 branch May 15, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants