Skip to content

Commit 7e5d903

Browse files
authored
Use opentelemetrybot for dependabot PR action (#3616)
1 parent c61d2f0 commit 7e5d903

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/create-dependabot-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
- name: Run dependabot-pr.sh
2121
run: ./.github/workflows/scripts/dependabot-pr.sh
2222
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}

.github/workflows/scripts/dependabot-pr.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
git config user.name $GITHUB_ACTOR
18-
git config user.email $GITHUB_ACTOR@users.noreply.github.com
17+
git config user.name opentelemetrybot
18+
git config user.email 107717825+opentelemetrybot@users.noreply.github.com
1919

2020
PR_NAME=dependabot-prs/`date +'%Y-%m-%dT%H%M%S'`
2121
git checkout -b $PR_NAME

0 commit comments

Comments
 (0)