From 46ae94a155202c2a503f151c7da73f878094d32f Mon Sep 17 00:00:00 2001 From: Eugen Dueck Date: Sat, 16 Mar 2024 09:07:52 +0900 Subject: [PATCH] use custom PAT to allow triggering of other workflows (update-homebrew) on release --- .github/workflows/build-and-release.yml | 2 +- colorexp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 0efdc86..77828f8 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -65,7 +65,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.CONTENTS_PAT }} with: tag_name: v${{ steps.project_info.outputs.version }} release_name: Release ${{ steps.project_info.outputs.version }} diff --git a/colorexp.go b/colorexp.go index ffb825b..048e945 100644 --- a/colorexp.go +++ b/colorexp.go @@ -8,7 +8,7 @@ import ( "regexp" ) -const version = "1.0.3" +const version = "1.0.4" var foregroundColors = []string{ //"\033[30m", // Black