We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7666223 + 3afbdf3 commit 8d1c7d2Copy full SHA for 8d1c7d2
.github/workflows/publish.yml
@@ -19,6 +19,9 @@ on:
19
default: "master"
20
type: string
21
22
+permissions:
23
+ contents: write
24
+
25
jobs:
26
publish:
27
runs-on: ubuntu-latest
@@ -72,6 +75,8 @@ jobs:
72
75
# Remove the org from the repo name
73
76
GITHUB_REPO_NAME="${GITHUB_REPOSITORY#*/}"
74
77
78
+ git config --global user.name "github-actions[bot]"
79
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
80
git config --global --add safe.directory "$(pwd -P)"
81
git commit -am "GHA: release version \${VERSION}"
82
git tag v\${VERSION} -am "GHA: publish public-$GITHUB_REPO_NAME v\${VERSION}"
0 commit comments