Skip to content

nodebuilder/header: Validate range bounds and export ErrRangeTooLarge in GetRangeByHeight #3296

nodebuilder/header: Validate range bounds and export ErrRangeTooLarge in GetRangeByHeight

nodebuilder/header: Validate range bounds and export ErrRangeTooLarge in GetRangeByHeight #3296

name: Label Automation
on:
# Using pull_request_target for forks since labels are not a security issue
pull_request_target:
types: [opened]
issues:
types: [opened]
jobs:
automate-labels:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
permissions:
issues: write
pull-requests: write
steps:
- name: Check for External Contributor
uses: tspascoal/get-user-teams-membership@b2546c5affc730fd8e3d8483ae9ad3621938c2f9 # v4.0.2
id: teamCheck
with:
username: ${{ github.actor }}
team: "celestia-node"
GITHUB_TOKEN: ${{ secrets.PAT_TEAM_CHECK }}
# For issues we want to add a `needs:triage` label if it is unlabeled
- name: Triage labeling
if: ${{ github.event_name == 'issues' }}
uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260 # master @ 2026-04-20 — archived action, replace in follow-up
with:
add-labels: "needs:triage"
ignore-if-labeled: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
# For both issues and PRs we want to add the `external` label if the
# author is not a member of the node team
- name: External labeling
if: ${{ steps.teamCheck.outputs.isTeamMember == 'false' }}
uses: andymckay/labeler@3a4296e9dcdf9576b0456050db78cfd34853f260 # master @ 2026-04-20 — archived action, replace in follow-up
with:
add-labels: "external"
repo-token: ${{ secrets.GITHUB_TOKEN }}