Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
with:
version: ${{ needs.release.outputs.version }}
secrets:
AARON_MAXWELL_TOKEN: ${{ secrets.AARON_MAXWELL_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.XIANG17_TOKEN }}

create-version-bump-pull-request:
permissions: write-all
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/reusable-create-docs-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
type: string
required: true
secrets:
AARON_MAXWELL_TOKEN:
PERSONAL_ACCESS_TOKEN:
required: true
# to help with partial release build failures
workflow_dispatch:
Expand All @@ -27,16 +27,16 @@ jobs:
env:
VERSION: ${{ inputs.version }}
# this is the personal access token used for "gh repo sync" below
GH_TOKEN: ${{ secrets.AARON_MAXWELL_TOKEN }}
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
gh repo sync AaronMaxwell/azure-monitor-docs-pr \
gh repo sync xiang17/azure-monitor-docs-pr \
--source MicrosoftDocs/azure-monitor-docs-pr

- uses: actions/checkout@v5
with:
repository: AaronMaxwell/azure-monitor-docs-pr
repository: xiang17/azure-monitor-docs-pr
# this is the personal access token used for "git push" below
token: ${{ secrets.AARON_MAXWELL_TOKEN }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

- name: Update version in docs
env:
Expand All @@ -54,12 +54,12 @@ jobs:
env:
VERSION: ${{ inputs.version }}
# this is the personal access token used for "gh pr create" below
GH_TOKEN: ${{ secrets.AARON_MAXWELL_TOKEN }}
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
message="Update the applicationinsights-java version to $VERSION"
body="Update the applicationinsights-java version to \`$VERSION\`.

cc @AaronMaxwell @heyams @jeanbisutti @mattmccleary @trask
cc @harsimar @jeanbisutti @mattmccleary @rajkumar-rangaraj @trask @xiang17
"
branch="update-applicationinsights-java-to-${VERSION}"

Expand All @@ -76,7 +76,7 @@ jobs:

echo ========================================
echo To create PR, go to
echo https://github.com/MicrosoftDocs/azure-monitor-docs-pr/compare/main...AaronMaxwell:azure-docs-pr:${branch}?expand=1
echo https://github.com/MicrosoftDocs/azure-monitor-docs-pr/compare/main...xiang17:azure-docs-pr:${branch}?expand=1
echo ========================================

# TODO (trask) create PR automatically
Expand Down