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.
1 parent d4e7984 commit d6b60b7Copy full SHA for d6b60b7
.github/actions/version-bump-and-publish/action.ps1
@@ -39,7 +39,7 @@ if ($WhatIfPreference) {
39
40
# If last commit was the version bump, skip it
41
$lastCommitUser = git log -1 --pretty=%aN
42
-if ($lastCommitUser -like "*via GitHub Actions*") {
+if ($Type -ne "stable" -and $lastCommitUser -like "*via GitHub Actions*") {
43
Write-Host "Last commit was a github actions push, skipping version bump this time around"
44
return
45
}
.github/workflows/publish-docs.yml
@@ -5,6 +5,9 @@ on:
5
branches:
6
- main
7
8
+permissions:
9
+ contents: read
10
+
11
jobs:
12
deploy:
13
runs-on: ubuntu-latest
0 commit comments