Ethereum indexer fails on startup when block.data is created as directory #12
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
| # .github/workflows/triage-issues.yml | |
| # Auto-label new issues based on author + add repo label | |
| name: Triage Issues | |
| on: | |
| issues: | |
| types: [opened] | |
| jobs: | |
| triage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add labels | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| const maintainers = ['mrlutik']; | |
| const author = context.payload.issue.user.login; | |
| const repoName = context.repo.repo; | |
| const labels = []; | |
| // Status label based on author | |
| if (maintainers.includes(author)) { | |
| labels.push('status: backlog'); | |
| } else { | |
| labels.push('needs-triage'); | |
| } | |
| // Repo label for cross-repo tracking | |
| labels.push(`repo: ${repoName}`); | |
| await github.rest.issues.addLabels({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| labels: labels | |
| }); | |
| console.log(`Added labels [${labels.join(', ')}] to #${context.issue.number}`); |