Skip to content

Commit f471cfb

Browse files
fix: restrict Docs catalog updates to main
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent d1b1609 commit f471cfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/Docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
persist-credentials: false
7272

7373
- name: Update index
74-
if: github.event_name != 'pull_request'
74+
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
7575
uses: ./.github/actions/update-index
7676
with:
7777
ClientID: ${{ secrets.SCRIBBLER_BOT_CLIENT_ID }} # zizmor: ignore[secrets-outside-env]

0 commit comments

Comments
 (0)