Skip to content

Commit d1b1609

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/Docs.yml

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

7373
- name: Update index
74+
if: github.event_name != 'pull_request'
7475
uses: ./.github/actions/update-index
7576
with:
7677
ClientID: ${{ secrets.SCRIBBLER_BOT_CLIENT_ID }} # zizmor: ignore[secrets-outside-env]
@@ -95,7 +96,7 @@ jobs:
9596

9697
publish:
9798
name: Publish
98-
needs: [build, lint]
99+
needs: build
99100
if: github.event_name != 'pull_request'
100101
runs-on: ubuntu-24.04
101102
environment:

0 commit comments

Comments
 (0)