From b18fb29ad6111ea56fe2f4603c224198e40cd6dc Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Fri, 9 May 2025 11:44:52 +0000 Subject: [PATCH 1/4] cop --- .copier-answers.yml | 2 +- .github/workflows/dependabot-post-update.yaml | 4 +++- template/.github/workflows/dependabot-post-update.yaml | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 24f34d32..ad3048b9 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.0.38 +_commit: v0.0.38-1-g82d8890 _src_path: gh:LabAutomationAndScreening/copier-base-template.git description: Copier template for creating Python libraries and executables python_ci_versions: diff --git a/.github/workflows/dependabot-post-update.yaml b/.github/workflows/dependabot-post-update.yaml index fa4b163d..f11af347 100644 --- a/.github/workflows/dependabot-post-update.yaml +++ b/.github/workflows/dependabot-post-update.yaml @@ -17,6 +17,8 @@ jobs: uses: actions/checkout@v4.2.2 with: persist-credentials: true # (default) makes GITHUB_TOKEN available for git push + fetch-depth: 0 # Fetch full history so we can push back + ref: ${{ github.event.pull_request.head.ref }} # Check out the head ref of the PR instead of detached HEAD - name: Configure Git author run: | @@ -32,7 +34,7 @@ jobs: if ! git diff --quiet; then git add . git commit -m "chore: apply post-Dependabot script changes" - git push + git push origin HEAD:${{ github.event.pull_request.head.ref }} else echo "No changes to commit" fi diff --git a/template/.github/workflows/dependabot-post-update.yaml b/template/.github/workflows/dependabot-post-update.yaml index fa4b163d..f11af347 100644 --- a/template/.github/workflows/dependabot-post-update.yaml +++ b/template/.github/workflows/dependabot-post-update.yaml @@ -17,6 +17,8 @@ jobs: uses: actions/checkout@v4.2.2 with: persist-credentials: true # (default) makes GITHUB_TOKEN available for git push + fetch-depth: 0 # Fetch full history so we can push back + ref: ${{ github.event.pull_request.head.ref }} # Check out the head ref of the PR instead of detached HEAD - name: Configure Git author run: | @@ -32,7 +34,7 @@ jobs: if ! git diff --quiet; then git add . git commit -m "chore: apply post-Dependabot script changes" - git push + git push origin HEAD:${{ github.event.pull_request.head.ref }} else echo "No changes to commit" fi From 81cf77b4865fea3b4cc15e74d81d284235e2adbe Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Fri, 9 May 2025 11:46:23 +0000 Subject: [PATCH 2/4] depth 1 --- template/.github/workflows/dependabot-post-update.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/.github/workflows/dependabot-post-update.yaml b/template/.github/workflows/dependabot-post-update.yaml index f11af347..68da3da2 100644 --- a/template/.github/workflows/dependabot-post-update.yaml +++ b/template/.github/workflows/dependabot-post-update.yaml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4.2.2 with: persist-credentials: true # (default) makes GITHUB_TOKEN available for git push - fetch-depth: 0 # Fetch full history so we can push back + fetch-depth: 1 # Fetch tip commit so we can push back ref: ${{ github.event.pull_request.head.ref }} # Check out the head ref of the PR instead of detached HEAD - name: Configure Git author From 0e22bec9d7ba6866ace88e238a4561cda4419510 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Fri, 9 May 2025 11:48:16 +0000 Subject: [PATCH 3/4] copier --- .copier-answers.yml | 2 +- .github/workflows/dependabot-post-update.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index ad3048b9..5f7e6405 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.0.38-1-g82d8890 +_commit: v0.0.38-2-g6b83245 _src_path: gh:LabAutomationAndScreening/copier-base-template.git description: Copier template for creating Python libraries and executables python_ci_versions: diff --git a/.github/workflows/dependabot-post-update.yaml b/.github/workflows/dependabot-post-update.yaml index f11af347..68da3da2 100644 --- a/.github/workflows/dependabot-post-update.yaml +++ b/.github/workflows/dependabot-post-update.yaml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4.2.2 with: persist-credentials: true # (default) makes GITHUB_TOKEN available for git push - fetch-depth: 0 # Fetch full history so we can push back + fetch-depth: 1 # Fetch tip commit so we can push back ref: ${{ github.event.pull_request.head.ref }} # Check out the head ref of the PR instead of detached HEAD - name: Configure Git author From 73af412f1a4271c729fe8d1dc8f4e912ac676ff8 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Fri, 9 May 2025 11:48:59 +0000 Subject: [PATCH 4/4] tag --- .copier-answers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 5f7e6405..0374019c 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.0.38-2-g6b83245 +_commit: v0.0.39 _src_path: gh:LabAutomationAndScreening/copier-base-template.git description: Copier template for creating Python libraries and executables python_ci_versions: