Skip to content

Commit 6a2a2a5

Browse files
committed
fix: update branch references from main to master and remove Node.js 18
- Change all workflow triggers from 'main' to 'master' branch - Update semantic-release condition to use 'refs/heads/master' - Remove Node.js 18 from benchmark workflow, keeping only Node.js 20 - Update README coverage badge to reference master branch - Update .releaserc.json to use master as primary branch Signed-off-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent cfa3b2c commit 6a2a2a5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Benchmarks
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88

99
permissions:
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
node-version: [^18, ^20]
18+
node-version: [^20]
1919
steps:
2020
- uses: actions/checkout@v4
2121

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88

99
permissions:
@@ -93,7 +93,7 @@ jobs:
9393
node-version: ^20
9494

9595
- name: Run semantic-release
96-
if: github.repository == 'casbin/casbin-core' && github.event_name == 'push' && github.ref == 'refs/heads/main'
96+
if: github.repository == 'casbin/casbin-core' && github.event_name == 'push' && github.ref == 'refs/heads/master'
9797
run: |
9898
yarn install
9999
yarn run build

.github/workflows/platform_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Platform Test
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
pull_request:
88

99
permissions:

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"debug": true,
33
"branches": [
4-
"main",
4+
"master",
55
{
66
"name": "beta",
77
"channel": "beta",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Casbin-Core
22

33
[![CI](https://github.com/casbin/casbin-core/actions/workflows/ci.yml/badge.svg)](https://github.com/casbin/casbin-core/actions/workflows/ci.yml)
4-
[![Coverage Status](https://coveralls.io/repos/github/casbin/casbin-core/badge.svg?branch=main)](https://coveralls.io/github/casbin/casbin-core?branch=main)
4+
[![Coverage Status](https://coveralls.io/repos/github/casbin/casbin-core/badge.svg?branch=master)](https://coveralls.io/github/casbin/casbin-core?branch=master)
55
[![NPM version][npm-image]][npm-url]
66
[![NPM download][download-image]][download-url]
77
[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord&label=discord&color=5865F2)](https://discord.gg/S5UjpzGZjN)

0 commit comments

Comments
 (0)