Skip to content

Commit

Permalink
Initial Action
Browse files Browse the repository at this point in the history
  • Loading branch information
sithlord48 committed Oct 21, 2024
1 parent e647758 commit 65964f7
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
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
```
24 changes: 24 additions & 0 deletions action.yml
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
14 changes: 14 additions & 0 deletions package.json
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"
}

0 comments on commit 65964f7

Please sign in to comment.