diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 164bc0eb..c49fc1fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,15 @@ jobs: name: release runs-on: ubuntu-latest steps: + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.GR2M_SEMANTIC_RELEASE_ID }} + private-key: ${{ secrets.GR2M_SEMANTIC_RELEASE_PRIVATE_KEY }} + github-api-url: "https://github.acme-inc.com/api/v3" - uses: actions/checkout@v4 + with: + token: ${{ steps.app-token.outputs.token }} - uses: actions/setup-node@v4 with: node-version: lts/* @@ -20,8 +28,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git config user.name github-actions - git config user.email github-actions@github.com + git config user.name gr2m-semantic-release[bot] + git config user.email gr2m-semantic-release[bot]@users.noreply.github.com git add .gitignore dist/ git commit -m "build" - run: >- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 41ad04f1..35c74b00 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -285,7 +285,6 @@ jobs: branch: test-add-reviewers-${{ github.run_number }} commit-message: Just testing [skip ci] reviewers: gr2m - team_reviewers: test-reviewers - uses: octokit/request-action@v2.x id: get-pull-request with: