Skip to content

fix: replace broken label-conflicts action with eps1lon/actions-label-merge-conflict#21704

Draft
bhimrazy wants to merge 1 commit intoLightning-AI:masterfrom
bhimrazy:fix/label-conflicts-action
Draft

fix: replace broken label-conflicts action with eps1lon/actions-label-merge-conflict#21704
bhimrazy wants to merge 1 commit intoLightning-AI:masterfrom
bhimrazy:fix/label-conflicts-action

Conversation

@bhimrazy
Copy link
Copy Markdown
Collaborator

@bhimrazy bhimrazy commented May 8, 2026

What does this PR do?

Fixes the triage-conflicts CI check that has been failing due to a broken upstream Docker build in mschilde/auto-label-merge-conflicts.

Root Cause

The mschilde/auto-label-merge-conflicts action uses a Docker-based runner with node:alpine, which no longer ships yarn by default. This causes the Docker build to fail with:

/bin/sh: yarn: not found

The upstream repo is effectively unmaintained (last real activity 2021, latest tag v2.0 has the same broken Dockerfile).

Fix

  • Replaced with eps1lon/actions-label-merge-conflict@v3.0.3 — a JS-based action (no Docker build), actively maintained, pinned to full commit SHA
  • Added pull_request trigger alongside pull_request_target so the check runs correctly from the head branch as well

📚 Documentation preview 📚: https://pytorch-lightning--21704.org.readthedocs.build/en/21704/

…orkflow

mschilde/auto-label-merge-conflicts uses a Docker-based action where
node:alpine no longer ships yarn, causing the build to fail. Replaced
with eps1lon/actions-label-merge-conflict@v3.0.3 (JS-based, no Docker).
Also added pull_request trigger alongside pull_request_target.
@github-actions github-actions Bot added the ci Continuous Integration label May 8, 2026
runs-on: ubuntu-latest
steps:
- uses: mschilde/auto-label-merge-conflicts@591722e97f3c4142df3eca156ed0dcf2bcd362bd # Oct 25, 2021
- uses: eps1lon/actions-label-merge-conflict@636b369ea34ff799b8db5182df6f19e39b2d4adb # v3.0.3
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where did you get this commit hash from? I see commit hash to be: 1df065ebe6e3310545d4f4c4e862e43bdca146f0.

can you help me on this: https://github.com/eps1lon/actions-label-merge-conflict

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mybad, I will change that to the 3.0.3

In the meantime, I was checking if the upstream repo accepts the fixes: mschilde/auto-label-merge-conflicts#67

@bhimrazy bhimrazy marked this pull request as draft May 8, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants