Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 15, 2025

The autoupdate workflow was triggering on all branch pushes, including main. Since the action updates PRs with base branch changes, running it on main itself is unnecessary.

Changes:

  • Added branches-ignore: [main] to the push trigger in .github/workflows/autoupdate.yaml

Before:

on:
  push: {}

After:

on:
  push:
    branches-ignore:
      - main

This prevents wasted CI/CD runs when pushing to main where no PRs exist to update.

Original prompt

dont run the autoupdate github action on the main branch


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Nov 15, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI changed the title [WIP] Remove autoupdate action from main branch Exclude main branch from autoupdate workflow Nov 15, 2025
Copilot AI requested a review from DonnieBLT November 15, 2025 17:57
@DonnieBLT DonnieBLT marked this pull request as ready for review November 16, 2025 03:03
@DonnieBLT DonnieBLT merged commit 18fab23 into main Nov 16, 2025
4 checks passed
@DonnieBLT DonnieBLT deleted the copilot/disable-autoupdate-main-branch branch November 16, 2025 03:03
@github-actions github-actions bot added files-changed: 1 unresolved-conversations: 0 PR has 0 unresolved conversations labels Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

files-changed: 1 unresolved-conversations: 0 PR has 0 unresolved conversations

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants