fix: optimize rewards query #95
Workflow file for this run
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: Pull Request Labeler | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| jobs: | |
| auto-label: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Find Current Pull Request | |
| uses: jwalton/[email protected] | |
| id: findPr | |
| with: | |
| # Can be "open", "closed", or "all". Defaults to "open". | |
| state: open | |
| - run: echo "PR Number is ${PR}" | |
| if: success() && steps.findPr.outputs.number | |
| env: | |
| PR: ${{ steps.findPr.outputs.pr }} | |
| - name: check pr pr-number | |
| run: echo ${{ github.event.number }} | |
| - uses: actions/labeler@v4 | |
| with: | |
| dot: true | |
| pr-number: ${{ steps.findPr.outputs.pr }} | |