-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Labels
Description
The run https://github.com/fsprojects/FSharpx.Collections/actions/runs/22826651287 had protected-files: fallback-to-issue and one of the two PRs in the run changed a .github/workflows file. However a generic issue was created for a failed git push rather than the more specific issue with an PR creation intent link for changes to protected files.
Processing create_pull_request: title=Fix CircularBuffer.Enqueue(array) - head pointer advances by count, not 1, bodyLength=1700
Patch file path: /tmp/gh-aw/aw-repo-assist-fix-issue-125-circular-buffer-array-enqueue.patch
Target repository: fsprojects/FSharpx.Collections
Base branch for fsprojects/FSharpx.Collections: master
Patch size: 4 KB (maximum allowed: 1024 KB)
Patch size validation passed
Patch content validation passed
Creating pull request with title: [Repo Assist] Fix CircularBuffer.Enqueue(array) - head pointer advances by count, not 1
Labels: ["automation","repo-assist"]
Draft: true
Body length: 2434
Using branch name from JSONL with added salt: repo-assist/fix-issue-125-circular-buffer-array-enqueue-806b1b4611ff3be2
Generated branch name: repo-assist/fix-issue-125-circular-buffer-array-enqueue-806b1b4611ff3be2
Base branch: master
Fetching base branch: master
/usr/bin/git fetch origin master
From https://github.com/fsprojects/FSharpx.Collections
* branch master -> FETCH_HEAD
/usr/bin/git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
Branch should not exist locally, creating new branch from base: repo-assist/fix-issue-125-circular-buffer-array-enqueue-806b1b4611ff3be2
/usr/bin/git checkout -b repo-assist/fix-issue-125-circular-buffer-array-enqueue-806b1b4611ff3be2
From 4bfe3b7aadebc970aa577fd65150bcc5475f15c9 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Sun, 8 Mar 2026 18:10:26 +0000
Subject: [PATCH] ci: cache NuGet packages to speed up builds
Add actions/cache@v4 to cache the ~/.nuget/packages directory,
keyed on paket.lock hash. This avoids re-downloading packages on
every CI run, which should significantly reduce build times on
cache hits.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---
.github/workflows/dotnet.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index aea2abe..fae97c1 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -36,6 +36,13 @@ jobs:
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ matrix.dotnet }}
+ - name: Cache NuGet packages
+ uses: actions/cache@v4
+ with:
+ path: ~/.nuget/packages
+ key: ${{ runner.os }}-nuget-${{ hashFiles('**/paket.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-nuget-
- name: Install local tools
run: dotnet tool restore
- name: Paket Restore
--
2.53.0
/usr/bin/git am --3way /tmp/gh-aw/aw-repo-assist-eng-ci-cache-2026-03-08.patch
Applying: ci: cache NuGet packages to speed up builds
Patch applied successfully
/usr/bin/git ls-remote --heads origin repo-assist/eng-ci-cache-2026-03-08-3f86249ea8ef643c
/usr/bin/git push origin repo-assist/eng-ci-cache-2026-03-08-3f86249ea8ef643c
To https://github.com/fsprojects/FSharpx.Collections.git
! [remote rejected] repo-assist/eng-ci-cache-2026-03-08-3f86249ea8ef643c -> repo-assist/eng-ci-cache-2026-03-08-3f86249ea8ef643c (refusing to allow a GitHub App to create or update workflow `.github/workflows/dotnet.yml` without `workflows` permission)
error: failed to push some refs to 'https://github.com/fsprojects/FSharpx.Collections.git'
Error: Git push failed: The process '/usr/bin/git' failed with exit code 1
Warning: Git push operation failed - creating fallback issue instead of pull request
Reactions are currently unavailable