You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/28 06:48:09 UTC
[GH] (texera/ci/backport-auto-label-no-require): Workflow run "Backport Auto Label" failed!
The GitHub Actions job "Backport Auto Label" on texera.git/ci/backport-auto-label-no-require has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).
Head commit for run:
722f24183dc75b064ab34935527d7b998f93ba3f / Yicong Huang <17...@users.noreply.github.com>
ci: fix backport auto-label crash; skip fix(ci) from backport
The Backport Auto Label workflow built a second Octokit with
`require("@actions/github").getOctokit(BOT_TOKEN)`, but github-script's
patched `require` resolves modules from the checked-out workspace, which
has no such package — so every run aborted with
`Cannot find module '@actions/github'`.
Split the single github-script step into two, each with its own natural
`github-token`, so no second Octokit is constructed in-script:
- Label (PAT): all reads and label writes, so a `labeled` event still
retriggers the backport pre-merge check; hands its decisions to the
next step via a JSON step output.
- Report (GITHUB_TOKEN): requests reviewers and upserts the report
comment as github-actions[bot], so neither retriggers a
comment-/review-driven workflow.
Also skip `fix(ci):` PRs: CI-only fixes never land on a release branch,
so they are treated like non-fix titles and left unlabeled.
Closes #6969
Co-Authored-By: Claude Opus 4.8 (1M context) <no...@anthropic.com>
Report URL: https://github.com/apache/texera/actions/runs/30335669232
With regards,
GitHub Actions via GitBox