Skip to content

Commit

Permalink
Fix monorepo splitter github action
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Mar 3, 2022
1 parent b8bcfc9 commit f7551de
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/split_monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
package_directory: 'packages/${{ matrix.package.local_path }}'
branch: "master"
package_directory: 'src/${{ matrix.package.local_path }}'
repository_organization: 'spiral'
repository_name: '${{ matrix.package.split_repository }}'
user-name: "GitHub Action"
user-email: "action@github.com"
user_name: "spiralbot"
user_email: "ci-bot@spiralscout.com"

# with tag
- if: "startsWith(github.ref, 'refs/tags/')"
Expand All @@ -137,9 +138,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}

package_directory: 'packages/${{ matrix.package.local_path }}'
branch: "master"
package_directory: 'src/${{ matrix.package.local_path }}'
repository_organization: 'spiral'
repository_name: '${{ matrix.package.split_repository }}'
user-name: "GitHub Action"
user-email: "action@github.com"
user_name: "spiralbot"
user_email: "ci-bot@spiralscout.com"

0 comments on commit f7551de

Please sign in to comment.