Repository navigation
feat(storage): log effective gRPC transport configuration for DirectPath over Interconnect #16735
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| types: | |
| - synchronize | |
| name: CHANGELOG.md generation upon Release Please pull requests | |
| jobs: | |
| print-github-context: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - env: | |
| EVENT_CONTEXT: ${{ toJSON(github.event) }} | |
| run: | | |
| echo "$EVENT_CONTEXT" | jq . | |
| changelog-generation: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| if: | | |
| github.event.sender.login == 'release-please[bot]' && github.head_ref == 'release-please--branches--main' && | |
| contains(github.event.pull_request.labels.*.name, 'autorelease: pending') | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| persist-credentials: false | |
| - name: Show status of the branch checked out | |
| run: | | |
| git status | |
| - name: Fetching pull request body | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} | |
| run: | | |
| echo "Running the changelog generation script. Fetching PR body..." | |
| gh pr view --json body --jq '.body' > pr_body.txt | |
| echo "PR body fetched. First 10 lines:" | |
| head pr_body.txt | |
| - name: Split the main changelog into CHANGELOG.md files in modules | |
| run: | | |
| python3 .github/release-note-generation/split_release_note.py pr_body.txt . | |
| - name: Commit the change and push to the pull request branch | |
| run: | | |
| git config user.email "cloud-java-bot@google.com" | |
| git config user.name "Cloud Java Bot" | |
| git remote set-url origin https://x-access-token:${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }} | |
| git add ./*/CHANGELOG.md | |
| git commit -m 'chore: update CHANGELOG.md in modules' | |
| git push |