Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 8, 2025

The CI and semantic-release workflow was configured to trigger on main branch, but the repository uses master as its default branch. This prevented automated releases and CI checks from running on master branch commits.

Changes

  • Updated .github/workflows/main.yml to trigger on master instead of main branch

This aligns the workflow with the repository's default branch, enabling:

  • Automated CI testing on master branch commits
  • Semantic-release automation for version management and npm publishing
  • Consistent behavior with the reference casbin/casbin repository

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/casbin/casbin/contents/.github/workflows
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[bug] need to run CI and make semantic-release for new master branch commit</issue_title>
<issue_description>need to make semantic-release for new master branch commit, like this repo: https://github.com/casbin/casbin</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@hsluoyz hsluoyz marked this pull request as ready for review December 8, 2025 12:15
Copilot AI changed the title [WIP] Add CI and semantic-release for master branch commits fix: configure workflow to trigger on master branch Dec 8, 2025
Copilot AI requested a review from hsluoyz December 8, 2025 12:20
@hsluoyz hsluoyz changed the title fix: configure workflow to trigger on master branch feat: configure CI workflow to trigger on master branch Dec 8, 2025
@hsluoyz hsluoyz merged commit 5408c69 into master Dec 8, 2025
8 of 10 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 8, 2025
# [5.42.0](v5.41.0...v5.42.0) (2025-12-08)

### Features

* configure CI workflow to trigger on master branch ([#521](#521)) ([02ec045](02ec045))
* fix duplicate CI runs on pull requests ([#513](#513)) ([67ab8ee](67ab8ee))
* fix escapeAssertion to preserve string literals ([#514](#514)) ([7801732](7801732))
* Support multiple policy definitions (p, p2) ([#518](#518)) ([1b1f1bb](1b1f1bb))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] need to run CI and make semantic-release for new master branch commit

3 participants