Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andry81-devops/gh-action--git-checkout
GitHub composite action extension of actions/checkout action. • :page_with_curl: https://github.com/andry81-stats/gh-action--git-checkout--gh-stats :page_with_curl:
https://github.com/andry81-devops/gh-action--git-checkout
action action-extension checkout composite-action devops git git-checkout github-action
Last synced: 14 days ago
JSON representation
GitHub composite action extension of actions/checkout action. • :page_with_curl: https://github.com/andry81-stats/gh-action--git-checkout--gh-stats :page_with_curl:
- Host: GitHub
- URL: https://github.com/andry81-devops/gh-action--git-checkout
- Owner: andry81-devops
- License: mit
- Created: 2022-04-15T06:50:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T12:57:41.000Z (over 1 year ago)
- Last Synced: 2024-11-24T18:40:27.110Z (29 days ago)
- Topics: action, action-extension, checkout, composite-action, devops, git, git-checkout, github-action
- Homepage: https://github.com/andry81-devops/github-action-extensions
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- Funding: .github/FUNDING.yml
- License: license.txt
Awesome Lists containing this project
README
---
Userlog
• Changelog
• Known issues
• Copyright and LicenseGitHub composite action extension of actions/checkout action.
Tutorial to use with: https://github.com/andry81-devops/github-action-extensionsAll tutorials: https://github.com/andry81/index#tutorials
##
# gh-action--git-checkout@master
**Features**:
* Checks if a remote repository does exist and has a branch reference to delegate all input into https://github.com/actions/checkout action.
* Otherwise calls to `mkdir` + `git init` instead of call to the `actions/checkout` action script.
* Additionally can create working copy subdirectories after the call (`mkdir-p` extra parameter). Has a difference with a working copy subdirectory creation before the checkout, because the `action/checkout` action script does cleanup a working copy directory before the checkout.
# USAGE
## Example snippet:
```yml
steps:
- uses: andry81-devops/gh-action--git-checkout@master
with:
repository: ...
ref: ...
path: ...
token: ...mkdir-p: >-
...
```> **Note** See REUSE section for details if you have multiple repositories and want to store all GitHub workflow scripts (`.github/workflows/*.yml`) in a single repository.
## Known Issues
https://github.com/andry81-devops/gh-known-issues#known-issues
## Last known issues updates
https://github.com/andry81-devops/gh-known-issues#last-known-issues-updates
## Copyright and License
Code and documentation copyright 2022 Andrey Dibrov. Code released under [MIT License](https://github.com/andry81-devops/gh-action--git-checkout/blob/master/license.txt)