fix: own line number table memory to avoid UAF on class unload (PROF-14547) #435
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: Auto-Approve Trivial PRs | |
| on: | |
| pull_request_target: | |
| types: [labeled] | |
| jobs: | |
| auto-approve: | |
| if: contains(github.event.pull_request.labels.*.name, 'trivial') || contains(github.event.pull_request.labels.*.name, 'no-review') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Needed to federate tokens | |
| steps: | |
| - uses: DataDog/dd-octo-sts-action@96a25462dbcb10ebf0bfd6e2ccc917d2ab235b9a # v1.0.4 | |
| id: octo-sts | |
| with: | |
| scope: DataDog/java-profiler | |
| policy: self.approve-trivial.approve-pr | |
| - name: Auto-approve PR | |
| uses: hmarr/auto-approve-action@8f929096a962e83ccdfa8afcf855f39f12d4dac7 # v4 | |
| with: | |
| github-token: ${{ steps.octo-sts.outputs.token }} |