From 204d721523b30dc5d751114743cae6ec072d11f7 Mon Sep 17 00:00:00 2001 From: "vault-token-factory-spectrocloud[bot]" <133815545+vault-token-factory-spectrocloud[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:02:01 -0700 Subject: [PATCH] ci: updates to CI workflow (#1590) (#1591) * ci: updates to CI workflow * docs: fixed title typo (cherry picked from commit 8fed09e61902d4109d88111cdc5abb1634ff5ab0) Co-authored-by: Karl Cardenas --- .github/workflows/release.yaml | 2 ++ .github/workflows/version-branch-update.yaml | 2 +- docs/docs-content/audit-logs/audit-logs.md | 2 +- scripts/netlify.sh | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f80854931b..2462592930 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,6 +6,8 @@ name: Release to Production on: push: branches: ['master', 'version-**'] + workflow_dispatch: + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/version-branch-update.yaml b/.github/workflows/version-branch-update.yaml index a1f423d5c6..adcf6e8c60 100644 --- a/.github/workflows/version-branch-update.yaml +++ b/.github/workflows/version-branch-update.yaml @@ -1,7 +1,7 @@ name: Version Branch Update on: - pull_request_target: + pull_request: branches: - 'version-[0-9]-[0-9]' types: [opened, synchronize, reopened] diff --git a/docs/docs-content/audit-logs/audit-logs.md b/docs/docs-content/audit-logs/audit-logs.md index 478bb5e5aa..03393c20a7 100644 --- a/docs/docs-content/audit-logs/audit-logs.md +++ b/docs/docs-content/audit-logs/audit-logs.md @@ -1,6 +1,6 @@ --- sidebar_label: "Audit Logs" -title: "Audit Logss" +title: "Audit Logs" description: "Learn about auditing in Palette and how to access audit logs." hide_table_of_contents: false sidebar_custom_props: diff --git a/scripts/netlify.sh b/scripts/netlify.sh index b0b4f8f90f..8d9dd0815c 100755 --- a/scripts/netlify.sh +++ b/scripts/netlify.sh @@ -6,7 +6,7 @@ # List of branches to NOT create an automatic Netlify preview -disallowed_branches=("master" "release-*" "version-*") +disallowed_branches=("master" "release-*" "version-*" "backport/**") # Get current branch name current_branch=$(git branch --show-current)