Skip to content

Conversation

@Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Nov 21, 2025

add-team-label needs PR context to work.


Note

Gate the "Test" step in the GitHub Actions workflow to run only for pull_request events.

  • CI:
    • Update /.github/workflows/test-add-team-label.yml to conditionally run the Test step only when github.event_name == 'pull_request'.

Written by Cursor Bugbot for commit 2a4f84d. This will update automatically on new commits. Configure here.

@Mrtenz Mrtenz marked this pull request as ready for review November 21, 2025 14:04
test-add-team-label:
name: Test add-team-label
uses: ./.github/workflows/test-add-team-label.yml
if: ${{ github.event_name == 'pull_request' }}
Copy link

Choose a reason for hiding this comment

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

Bug: Skipped dependency fails main branch workflow

Skipping test-add-team-label on non-PR events causes the dependent all-jobs-completed job to be skipped. This fails the workflow on push events (like to main) because the subsequent all-jobs-pass job expects all-jobs-completed to have run successfully and produce an output.

Fix in Cursor Fix in Web

@Mrtenz Mrtenz merged commit 025b660 into main Nov 21, 2025
20 checks passed
@Mrtenz Mrtenz deleted the mrtenz/test-add-team-label-pr branch November 21, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants