Skip to content

Commit

Permalink
feat: 1.39.0-skco - sub directories fix (#1)
Browse files Browse the repository at this point in the history
* feat: 1.39.0-skco - sub directories fix

* remove build status badge
  • Loading branch information
jordanamr authored Apr 25, 2022
1 parent 3840ec2 commit 4780e99
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 25 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/main.yml

This file was deleted.

6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:12-alpine3.15
LABEL "repository"="https://github.com/anothrNick/github-tag-action"
LABEL "homepage"="https://github.com/anothrNick/github-tag-action"
LABEL "maintainer"="Nick Sjostrom"
LABEL "repository"="https://github.com/skillupco/github-tag-action"
LABEL "homepage"="https://github.com/skillupco/github-tag-action"
LABEL "maintainer"="Nick Sjostrom & Skillup"

COPY entrypoint.sh /entrypoint.sh

Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# github-tag-action

## This fork aims at fixing known issues

A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version.

[![Build Status](https://github.com/anothrNick/github-tag-action/workflows/Bump%20version/badge.svg)](https://github.com/anothrNick/github-tag-action/workflows/Bump%20version/badge.svg)
[![Stable Version](https://img.shields.io/github/v/tag/anothrNick/github-tag-action)](https://img.shields.io/github/v/tag/anothrNick/github-tag-action)
[![Latest Release](https://img.shields.io/github/v/release/anothrNick/github-tag-action?color=%233D9970)](https://img.shields.io/github/v/release/anothrNick/github-tag-action?color=%233D9970)
[![Stable Version](https://img.shields.io/github/v/tag/skillupco/github-tag-action)](https://img.shields.io/github/v/tag/skillupco/github-tag-action)
[![Latest Release](https://img.shields.io/github/v/release/skillupco/github-tag-action?color=%233D9970)](https://img.shields.io/github/v/release/skillupco/github-tag-action?color=%233D9970)

> Medium Post: [Creating A Github Action to Tag Commits](https://itnext.io/creating-a-github-action-to-tag-commits-2722f1560dec)
Expand All @@ -26,7 +27,7 @@ jobs:
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.36.0
uses: skillupco/github-tag-action@1.39.0-skco
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Github Tag Bump'
description: 'Bump and push git tag on merge'
author: 'Nick Sjostrom'
author: 'Nick Sjostrom & Skillup'
runs:
using: 'docker'
image: 'Dockerfile'
Expand Down
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ suffix=${PRERELEASE_SUFFIX:-beta}
verbose=${VERBOSE:-true}
verbose=${VERBOSE:-true}
# since https://github.blog/2022-04-12-git-security-vulnerability-announced/ runner uses?
git config --global --add safe.directory /github/workspace
# skillupco - fix safe sub directories
git config --global --add safe.directory ${GITHUB_WORKSPACE}/${source}

cd ${GITHUB_WORKSPACE}/${source}

Expand Down

0 comments on commit 4780e99

Please sign in to comment.