Skip to content

Commit c20539b

Browse files
authored
ci: update the PAT for GitHub requests (#1915)
1 parent 90388df commit c20539b

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/subsplit-packages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,5 @@ jobs:
4848

4949
- name: Split Package
5050
env:
51-
SUBSPLIT_TOKEN: ${{ secrets.ACCESS_TOKEN }}
52-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
5352
run: ./bin/split "${{ matrix.package.name }}"

bin/split

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ DEFAULT_BRANCH=$(git branch --show-current)
2525
git filter-repo --subdirectory-filter "packages/${PACKAGE_NAME}"
2626

2727
# Setup our remote repository we are splitting to.
28-
git remote add origin "https://x-access-token:${SUBSPLIT_TOKEN}@github.com/${ORG_NAME}/${REPOSITORY_NAME}.git"
28+
git remote add origin "https://x-access-token:${GH_TOKEN}@github.com/${ORG_NAME}/${REPOSITORY_NAME}.git"
2929
git branch -m "$DEFAULT_BRANCH"
3030

3131
# Push all branches + history to the repo.

0 commit comments

Comments
 (0)