forked from ad-m/github-push-action
-
Notifications
You must be signed in to change notification settings - Fork 1
Merge upstream #1
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
Open
jcs090218
wants to merge
37
commits into
jcs-actions:master
Choose a base branch
from
ad-m:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This has been resolved in the [checkout](actions/checkout#770) action and would already be set by default.
* Add deploy key functionality
Fix removed code lines
* Update the documentation
Add force with lease support
Update github_token and github_url to handle it as optional parameter
Since time elapses between the checkout the github workflow performs and the eventual push this action invokes the remote HEAD may have changed. If this is the case the HEAD update will be rejected but any tag (and their commits) will be pushed. In general I think this operation should be atomic, either we push everything or we push nothing. Force pushes still work the way you would expect (i.e. if we force the HEAD update with --atomic everything is still pushed) This also protects from the situation where someone else has seized your tag name in the meantime but not updated your HEAD. See git docs for more information - https://git-scm.com/docs/git-push#Documentation/git-push.txt---no-atomic
chore: remove redundant safe.directory configuration
Add atomic push
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Use node16 to run the action
* doc: Update the documentation and the push process
* fix: Remove the user * doc: Adjust the documentation * fix: Add empty line at the end of the file
*doc: Adjust the documentation *fix: Add empty line at the end of the file
Compatible with repository addresses using http protocol.
docs: Adjust the GitHub App Token documentation
* docs: Adjust the initial git write access documentation * docs: Adjust the workflow scoped token permission documentation Co-authored-by: Tonye Jack <jtonye@ymail.com> --------- Co-authored-by: Tonye Jack <jtonye@ymail.com>
* fix: Update the documentation and remove the unsafe directory functionality * docs: Adjust the used checkout version Co-authored-by: Tonye Jack <jtonye@ymail.com> --------- Co-authored-by: Tonye Jack <jtonye@ymail.com>
* feat: Update the release process * feat: Update the GH action checkout version
* feat: Adjust the start.sh and add .gitignore * docs: Update the documentation
* feat: Add only push tags support
docs: Adjust the Token handling documentation Co-authored-by: Pascal Zimmermann <pascal.zimmermann@theiotstudio.com> --------- Co-authored-by: Pascal Zimmermann <pascal.zimmermann@theiotstudio.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.