Skip to content

Commit 0a2bca0

Browse files
committed
On branch edburns/dd-2794379-cosmetic-post-public-fixes Attempt to use bypass list.
modified: .github/workflows/publish-maven.yml - Get past this error > 2026-03-17T02:19:24.1791724Z remote: error: GH013: Repository rule violations found for refs/heads/main. > 2026-03-17T02:19:24.1794347Z remote: Review all repository rules at https://github.com/github/copilot-sdk-java/rules?ref=refs%2Fheads%2Fmain > 2026-03-17T02:19:24.1796233Z remote: > 2026-03-17T02:19:24.1797454Z remote: - Changes must be made through a pull request. > 2026-03-17T02:19:24.1798144Z remote: > 2026-03-17T02:19:24.1801994Z To https://github.com/github/copilot-sdk-java > 2026-03-17T02:19:24.1802675Z ! [remote rejected] main -> main (push declined due to repository rule violations) > 2026-03-17T02:19:24.1803495Z error: failed to push some refs to 'https://github.com/github/copilot-sdk-java' by making it so the push uses a PAT created by a person on the bypass list. modified: .gitignore - Ignore job logs. Signed-off-by: Ed Burns <edburns@microsoft.com>
1 parent 9aaffc9 commit 0a2bca0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/publish-maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242
with:
4343
fetch-depth: 0
44-
token: ${{ secrets.GITHUB_TOKEN }}
44+
token: ${{ secrets.RELEASE_TOKEN }}
4545

4646
- name: Configure Git for Maven Release
4747
run: |

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ examples-test/
55
blog-copilotsdk/
66
.claude/worktrees
77
smoke-test
8+
*job-logs.txt

0 commit comments

Comments
 (0)