[gql] Widen grpc mask to prefetch additional Transaction content
#13279
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
| name: Release Notes | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'devnet' | |
| - 'testnet' | |
| - 'mainnet' | |
| - 'releases/sui-*-release' | |
| pull_request: | |
| types: [ opened, synchronize, reopened, edited, ready_for_review ] | |
| workflow_dispatch: | |
| inputs: | |
| sui_repo_ref: | |
| description: "Branch / commit to test" | |
| type: string | |
| required: false | |
| default: '' | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| diff: | |
| name: Determine PR eligibility for ${{ github.event.pull_request.number }} | |
| if: github.event.pull_request.number != '' | |
| runs-on: [ ubuntu-latest ] | |
| outputs: | |
| isReleaseNotesEligible: ${{ steps.diff.outputs.isReleaseNotesEligible }} | |
| isReleaseNotesScript: ${{ steps.diff.outputs.isReleaseNotesScript }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2 | |
| with: | |
| ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | |
| - name: Detect Changes | |
| uses: './.github/actions/diffs' | |
| id: diff | |
| release-notes-script-test: | |
| name: Test release_notes.py | |
| needs: diff | |
| if: needs.diff.outputs.isReleaseNotesScript == 'true' | |
| runs-on: [ ubuntu-latest ] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2 | |
| with: | |
| ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0 | |
| with: | |
| python-version: 3.10.10 | |
| - name: Install pytest | |
| run: pip install pytest | |
| - name: Run release_notes.py tests | |
| run: | | |
| cd scripts | |
| python -m pytest release_notes_test.py -v | |
| release-notes-description-check: | |
| name: Validate Release Notes in ${{ github.event.pull_request.number }} | |
| needs: diff | |
| if: needs.diff.outputs.isReleaseNotesEligible == 'true' && github.event.pull_request.number != '' | |
| runs-on: [ ubuntu-latest ] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2 | |
| with: | |
| ref: ${{ github.event.inputs.sui_repo_ref || github.ref }} | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # pin@v6.2.0 | |
| with: | |
| python-version: 3.10.10 | |
| - name: Validate PR's release notes | |
| shell: bash | |
| run: | | |
| GH_TOKEN=${{ secrets.GITHUB_TOKEN }} python ./scripts/release_notes.py check ${{ github.event.pull_request.number }} |