Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
default: "master"
type: string

permissions:
contents: write

jobs:
publish:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -72,6 +75,8 @@ jobs:
# Remove the org from the repo name
GITHUB_REPO_NAME="${GITHUB_REPOSITORY#*/}"

git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global --add safe.directory "$(pwd -P)"
git commit -am "GHA: release version \${VERSION}"
git tag v\${VERSION} -am "GHA: publish public-$GITHUB_REPO_NAME v\${VERSION}"
Expand Down