diff --git a/.github/workflows/release-automated.yml b/.github/workflows/release-automated.yml index d07d7fed..b3eabded 100644 --- a/.github/workflows/release-automated.yml +++ b/.github/workflows/release-automated.yml @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v6 with: fetch-depth: 0 - persist-credentials: false + token: ${{ secrets.RELEASE_GITHUB_TOKEN }} - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -37,6 +37,10 @@ jobs: cache: 'npm' - name: Install dependencies run: npm ci + - name: Configure git credentials + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" - name: Run semantic-release for dart package run: npx semantic-release working-directory: packages/dart