This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site-archive.git
The following commit(s) were added to refs/heads/main by this push:
new 77d932d357 Add sparse checkout in Github Actions
77d932d357 is described below
commit 77d932d3577be406972d8b79c0654bc5774c1d9a
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun May 11 13:38:48 2025 +0200
Add sparse checkout in Github Actions
---
.github/workflows/build.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2a995d242f..eafb340552 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,6 +19,13 @@ jobs:
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 #
v4.6.1
with:
python-version: '3.9'
+ - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} ) for scripts"
+ uses: actions/checkout@v4
+ # Checkout only workflow and scripts directory to run scripts from
+ with:
+ sparse-checkout: |
+ .github
+ scripts
- name: 🔎 Lint
run: |
pip install pre-commit