Skip to content

Commit 4780e99

Browse files
authored
feat: 1.39.0-skco - sub directories fix (#1)
* feat: 1.39.0-skco - sub directories fix * remove build status badge
1 parent 3840ec2 commit 4780e99

5 files changed

Lines changed: 11 additions & 25 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:12-alpine3.15
2-
LABEL "repository"="https://github.com/anothrNick/github-tag-action"
3-
LABEL "homepage"="https://github.com/anothrNick/github-tag-action"
4-
LABEL "maintainer"="Nick Sjostrom"
2+
LABEL "repository"="https://github.com/skillupco/github-tag-action"
3+
LABEL "homepage"="https://github.com/skillupco/github-tag-action"
4+
LABEL "maintainer"="Nick Sjostrom & Skillup"
55

66
COPY entrypoint.sh /entrypoint.sh
77

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# github-tag-action
22

3+
## This fork aims at fixing known issues
4+
35
A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version.
46

5-
[![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)
6-
[![Stable Version](https://img.shields.io/github/v/tag/anothrNick/github-tag-action)](https://img.shields.io/github/v/tag/anothrNick/github-tag-action)
7-
[![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)
7+
[![Stable Version](https://img.shields.io/github/v/tag/skillupco/github-tag-action)](https://img.shields.io/github/v/tag/skillupco/github-tag-action)
8+
[![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)
89

910
> Medium Post: [Creating A Github Action to Tag Commits](https://itnext.io/creating-a-github-action-to-tag-commits-2722f1560dec)
1011
@@ -26,7 +27,7 @@ jobs:
2627
with:
2728
fetch-depth: '0'
2829
- name: Bump version and push tag
29-
uses: anothrNick/github-tag-action@1.36.0
30+
uses: skillupco/github-tag-action@1.39.0-skco
3031
env:
3132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
WITH_V: true

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'Github Tag Bump'
22
description: 'Bump and push git tag on merge'
3-
author: 'Nick Sjostrom'
3+
author: 'Nick Sjostrom & Skillup'
44
runs:
55
using: 'docker'
66
image: 'Dockerfile'

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ suffix=${PRERELEASE_SUFFIX:-beta}
1515
verbose=${VERBOSE:-true}
1616
verbose=${VERBOSE:-true}
1717
# since https://github.blog/2022-04-12-git-security-vulnerability-announced/ runner uses?
18-
git config --global --add safe.directory /github/workspace
18+
# skillupco - fix safe sub directories
19+
git config --global --add safe.directory ${GITHUB_WORKSPACE}/${source}
1920

2021
cd ${GITHUB_WORKSPACE}/${source}
2122

0 commit comments

Comments
 (0)