-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Milestone] v4 #30
Comments
I know this is like 2 months late from when I originally got involved with github wiki action stuff. 😬 But hey, better late than never! |
sidenote: consider renaming |
todo: @jcbhmr -- add the improvements from the readme https://github.com/Andrew-Chen-Wang/github-wiki-action/blob/jcbhmr/README.md to this list to do and track issues and open prs for that stuff |
@jcbhmr Thanks so much for continuing this work. Since you've managed to make things backwards compatible, I've opened the former rule up such that now you can open PRs and merge them yourself or commit directly to the base branch. I think we should refrain from moving to main for now since some users are using Also sorry for not keeping up to date with the conversation. I really appreciate you continuing this work! |
No worries! ❤️ I wouldn't worry too much about |
I want to caution that "backwards compatible" might not be the right word, and I want to make sure we're on the same page. I've tried to stick with the core idea of "push a folder to the .wiki.git repo", but I've done so by:
These changes, while good and (IMO) improvements, are nonetheless a new version and require changing a config. IDK if that's "backwards compatible" by the definition? 🤷♂️ - uses: Andrew-Chen-Wang/github-wiki-action@v3
# ⚠️ We use the env: key to provide our inputs! See #27.
env:
# Make sure this has a slash at the end! We use wiki/ by default.
WIKI_DIR: my-octocat-wiki/
# You MUST manually pass in the GitHub token.
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# These are currently REQUIRED options
GH_MAIL: [email protected]
GH_NAME: actions[bot] to - uses: Andrew-Chen-Wang/github-wiki-action@v4
with:
path: my-octocat-wiki
token: ${{ secrets.MY_TOKEN }}
env:
GIT_AUTHOR_NAME: Myself
GIT_AUTHOR_EMAIL: [email protected] hence, the TLDR: I want explicit ✅ that going from (left) to (right) is 👍 for v4. Just to make sure we are on the same page. I plan on merging all the PRs and then @-pinging you about making a v4.0.0 release. Sound good? |
Yes this sounds good. Major version update sounds good. Can't remember if the PR for the README includes a header saying "Breaking Changes in v4" which can help people migrate. I noticed a migration section iirc so that's great. Plan sounds good to me. Thanks again. |
@Andrew-Chen-Wang All done! It works! |
@Andrew-Chen-Wang Created release! https://github.com/Andrew-Chen-Wang/github-wiki-action/releases/tag/v4.0.0 The |
awesome thanks again! |
I've recently made a lot of changes that I'd like to incorporate into a v4 release. There's no risk of breaking changes because nobody uses the
@master
tag! #23 It's awesome that good versioning practices are so prevalent! ❤️Here's a summary of some of the changes that I'd like to incorporate into this repo:
with:
instead ofenv:
like all other actions Use with inputs instead of env #27dry-run: true
optional flag for testing purposes #34test.yml
to use #35strategy: clone|init
switch to either a) add a commit to the existing repo or b) create a single commit and force push that. Use astrategy: clone|init
switch #36.jpg
10MB files that it becomes slow over time. Force pushing a single commit solves this.strategy: clone
as the default is perfect.github-server-url
option #37gh auth setup-git
to manage git credentials. Usegh auth setup-git
for authentication #38GITHUB_TOKEN
var set is great!gh
is ALWAYS available on runners. Windows, macOS, and Ubuntu.v4
tags fromv4.0.0
releases and keep them always updated. There's an official action for this! When you release avX.Y.Z
tag it changesvX
to point to it. Auto update vX tags when vX.Y.Z releases are made #39The text was updated successfully, but these errors were encountered: