Skip to content

Commit 2573bd6

Browse files
Update preview-build.yml (#2347)
* Update preview-build.yml Add files: ${{ needs.check.outputs.added_files }} ${{ needs.check.outputs.modified_files }} to avoid checking deleted files * Fix * Revert files input --------- Co-authored-by: Jan Calanog <jan.calanog@elastic.co>
1 parent b87843e commit 2573bd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/preview-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,8 @@ jobs:
680680
uses: actions/checkout@v6
681681
with:
682682
fetch-depth: 0
683+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
684+
persist-credentials: false
683685
- name: Run Vale Linter
684686
uses: elastic/vale-rules/lint@main
685687
with:

0 commit comments

Comments
 (0)