diff --git a/.github/workflows/create-dependabot-pr.yml b/.github/workflows/create-dependabot-pr.yml index 436e06e6aa9..26f71c3eb8e 100644 --- a/.github/workflows/create-dependabot-pr.yml +++ b/.github/workflows/create-dependabot-pr.yml @@ -20,4 +20,4 @@ jobs: - name: Run dependabot-pr.sh run: ./.github/workflows/scripts/dependabot-pr.sh env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} diff --git a/.github/workflows/scripts/dependabot-pr.sh b/.github/workflows/scripts/dependabot-pr.sh index 8d5bf46c1c3..af20acb2287 100755 --- a/.github/workflows/scripts/dependabot-pr.sh +++ b/.github/workflows/scripts/dependabot-pr.sh @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -git config user.name $GITHUB_ACTOR -git config user.email $GITHUB_ACTOR@users.noreply.github.com +git config user.name opentelemetrybot +git config user.email 107717825+opentelemetrybot@users.noreply.github.com PR_NAME=dependabot-prs/`date +'%Y-%m-%dT%H%M%S'` git checkout -b $PR_NAME