-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e647758
commit 65964f7
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# fancy-checkout | ||
Git checkout action with all the tags | ||
|
||
Simple action to checkout, mark safe and grab tags from your repo. | ||
|
||
``` | ||
-name: Fancy Checkout | ||
uses: sithlord48/fancy-checkout@v1.0.0 | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# SPDX-FileCopyrightText: 2024 Chris Rizzitello <sithlord48@gmail.com> | ||
# SPDX-License-Identifier: MIT | ||
|
||
name: "Fancy Checkout" | ||
author: "@sithlord48" | ||
description: "Checkout a repo with all the tags in one step" | ||
branding: | ||
icon: 'check' | ||
color: 'green' | ||
|
||
runs: | ||
using: "composite" | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Fetch tags | ||
run: | | ||
git config --global --add safe.directory $GITHUB_WORKSPACE | ||
git fetch --tags --force | ||
shell: bash |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "fancy-checkout", | ||
"version": "1.0.0", | ||
"description": "Checkout a repo with all the tags in one step", | ||
"main": "action.yml", | ||
"keywords": [], | ||
"author": "sithlord48", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@actions/core": "^1.10.0", | ||
"@actions/checkout": "^4", | ||
}, | ||
"type": "composite" | ||
} |