Skip to content

Commit d280c36

Browse files
committed
Fixing publish/split workflow
1 parent 24ddc2b commit d280c36

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/split.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ jobs:
7171
# ► push branch + tag
7272
- name: Split Monorepo
7373
uses: "danharrin/monorepo-split-github-action@v2.3.0"
74+
env:
75+
GITHUB_TOKEN: ${{ secrets.SPLIT_TOKEN_3 }}
7476
with:
75-
github_token: ${{ secrets.SPLIT_TOKEN_3 }} # PAT here
77+
#github_token: ${{ secrets.SPLIT_TOKEN_3 }} # PAT here
7678
tag: ${{ github.ref_name }} # e.g. v1.2.3
7779
package_directory: ${{ matrix.package.local }}
7880
repository_organization: cognesy
@@ -87,6 +89,6 @@ jobs:
8789
GITHUB_TOKEN: ${{ secrets.SPLIT_TOKEN_3 }}
8890
with:
8991
repository: ${{ matrix.package.repo }} # target repo
90-
tag_name: ${{ github.ref_name }} # v1.2.3
91-
body_path: ${{ matrix.package.local }}/release_notes/${{ github.ref_name }}.md
92-
token: ${{ secrets.SPLIT_TOKEN_3 }} # PAT here
92+
tag_name: ${{ github.ref_name }} # v1.2.3
93+
body_path: ${{ matrix.package.local }}/release_notes/${{ github.ref_name }}.md
94+
token: ${{ secrets.SPLIT_TOKEN_3 }} # PAT here

0 commit comments

Comments
 (0)