Skip to content

Commit 7c35788

Browse files
committed
fix: migrate repository from casbin org to apache org
1 parent f6fa6e4 commit 7c35788

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,teamcity,opencover
5353

5454
- name: Upload coverage
55-
if: github.repository_owner == 'casbin' && github.event_name == 'push'
55+
if: github.repository_owner == 'apache' && github.event_name == 'push'
5656
run: |
5757
dotnet tool install coveralls.net --version 3.0.0 --tool-path tools;
5858
$CommitAuthor = git show -s --pretty=format:"%cn";
@@ -74,7 +74,7 @@ jobs:
7474
}
7575
7676
- name: Upload test results artefacts
77-
if: github.repository_owner == 'casbin' && github.event_name == 'push'
77+
if: github.repository_owner == 'apache' && github.event_name == 'push'
7878
uses: actions/upload-artifact@v4
7979
with:
8080
name: "drop-ci-test-results"
@@ -83,7 +83,7 @@ jobs:
8383
dry-run-semantic-release:
8484
runs-on: ubuntu-latest
8585
needs: build
86-
if: github.repository_owner == 'casbin' && github.event_name == 'push'
86+
if: github.repository_owner == 'apache' && github.event_name == 'push'
8787

8888
steps:
8989
- name: Checkout
@@ -103,7 +103,7 @@ jobs:
103103
release-build-version:
104104
runs-on: windows-latest
105105
needs: build
106-
if: github.repository_owner == 'casbin' && github.event_name == 'push'
106+
if: github.repository_owner == 'apache' && github.event_name == 'push'
107107

108108
steps:
109109
- name: Checkout

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
run-semantic-release:
8484
runs-on: ubuntu-latest
8585
needs: build
86-
if: github.repository_owner == 'casbin' && github.event_name == 'push'
86+
if: github.repository_owner == 'apache' && github.event_name == 'push'
8787

8888
steps:
8989
- name: Checkout
@@ -103,7 +103,7 @@ jobs:
103103
push-packages:
104104
runs-on: windows-latest
105105
needs: run-semantic-release
106-
if: github.repository_owner == 'casbin' && github.event_name == 'push'
106+
if: github.repository_owner == 'apache' && github.event_name == 'push'
107107

108108
steps:
109109
- name: Checkout
@@ -159,7 +159,7 @@ jobs:
159159
path: './packages'
160160

161161
- name: Add github nuget source
162-
run: dotnet nuget add source https://nuget.pkg.github.com/casbin/index.json --name github.com --username casbin --password $env:GITHUB_TOKEN
162+
run: dotnet nuget add source https://nuget.pkg.github.com/apache/index.json --name github.com --username apache --password $env:GITHUB_TOKEN
163163

164164
- name: Push packages to github.com
165165
run: dotnet nuget push .\packages\*.nupkg -s github.com --skip-duplicate;

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Casbin.NET
22

33
[![Build Status](https://dev.azure.com/Casbin/Casbin.NET/_apis/build/status/casbin.Casbin.NET?branchName=master)](https://dev.azure.com/Casbin/Casbin.NET/_build?definitionId=1)
4-
[![Coverage Status](https://coveralls.io/repos/github/casbin/Casbin.NET/badge.svg?branch=master)](https://coveralls.io/github/casbin/Casbin.NET?branch=master)
4+
[![Coverage Status](https://coveralls.io/repos/github/apache/casbin-Casbin.NET/badge.svg?branch=master)](https://coveralls.io/github/apache/casbin-Casbin.NET?branch=master)
55
[![Nuget](https://img.shields.io/nuget/v/Casbin.NET.svg)](https://www.nuget.org/packages/Casbin.NET/)
6-
[![Release](https://img.shields.io/github/release/casbin/Casbin.NET.svg)](https://github.com/casbin/Casbin.NET/releases/latest)
6+
[![Release](https://img.shields.io/github/release/apache/casbin-Casbin.NET.svg)](https://github.com/apache/casbin-Casbin.NET/releases/latest)
77
[![Nuget](https://img.shields.io/nuget/dt/Casbin.NET.svg)](https://www.nuget.org/packages/Casbin.NET/)
88
[![Discord](https://img.shields.io/discord/1022748306096537660?logo=discord&label=discord&color=5865F2)](https://discord.gg/S5UjpzGZjN)
99

@@ -18,9 +18,9 @@ Casbin.NET is a powerful and efficient open-source access control library for [.
1818
| [Casbin](https://github.com/casbin/casbin) | [jCasbin](https://github.com/casbin/jcasbin) | [node-Casbin](https://github.com/casbin/node-casbin) | [PHP-Casbin](https://github.com/php-casbin/php-casbin) |
1919
| production-ready | production-ready | production-ready | production-ready |
2020

21-
| [![python](https://github.com/casbin/casbin.io/blob/master/img/langs/python.png?raw=true)](https://github.com/casbin/pycasbin) | [![dotnet](https://github.com/casbin/casbin.io/blob/master/img/langs/dotnet.png?raw=true)](https://github.com/casbin/Casbin.NET) | [![delphi](https://github.com/casbin/casbin.io/blob/master/img/langs/delphi.png?raw=true)](https://github.com/casbin4d/Casbin4D) | [![rust](https://github.com/casbin/casbin.io/blob/master/img/langs/rust.png?raw=true)](https://github.com/casbin/casbin-rs) |
21+
| [![python](https://github.com/casbin/casbin.io/blob/master/img/langs/python.png?raw=true)](https://github.com/casbin/pycasbin) | [![dotnet](https://github.com/casbin/casbin.io/blob/master/img/langs/dotnet.png?raw=true)](https://github.com/apache/casbin-Casbin.NET) | [![delphi](https://github.com/casbin/casbin.io/blob/master/img/langs/delphi.png?raw=true)](https://github.com/casbin4d/Casbin4D) | [![rust](https://github.com/casbin/casbin.io/blob/master/img/langs/rust.png?raw=true)](https://github.com/casbin/casbin-rs) |
2222
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
23-
| [PyCasbin](https://github.com/casbin/pycasbin) | [Casbin.NET](https://github.com/casbin/Casbin.NET) | [Casbin4D](https://github.com/casbin4d/Casbin4D) | [Casbin-RS](https://github.com/casbin/casbin-rs) |
23+
| [PyCasbin](https://github.com/casbin/pycasbin) | [Casbin.NET](https://github.com/apache/casbin-Casbin.NET) | [Casbin4D](https://github.com/casbin4d/Casbin4D) | [Casbin-RS](https://github.com/casbin/casbin-rs) |
2424
| production-ready | production-ready | experimental | production-ready |
2525

2626
## Table of contents
@@ -237,11 +237,11 @@ https://casbin.org/docs/adopters
237237
## Contributors
238238

239239
This project exists thanks to all the people who contribute.
240-
<p><a href="https://github.com/casbin/Casbin.NET/graphs/contributors"><img src="https://opencollective.com/casbinnet/contributors.svg?width=890&button=false"></a></p>
240+
<p><a href="https://github.com/apache/casbin-Casbin.NET/graphs/contributors"><img src="https://opencollective.com/casbinnet/contributors.svg?width=890&button=false"></a></p>
241241

242242
## Star History
243243

244-
[![Star History Chart](https://api.star-history.com/svg?repos=casbin/Casbin.NET&type=Date)](https://star-history.com/#casbin/Casbin.NET&Date)
244+
[![Star History Chart](https://api.star-history.com/svg?repos=apache/casbin-Casbin.NET&type=Date)](https://star-history.com/#apache/casbin-Casbin.NET&Date)
245245
246246
## License
247247

@@ -250,6 +250,6 @@ This project is licensed under the [Apache 2.0 license](LICENSE).
250250
## Contact
251251

252252
If you have any issues or feature requests, please contact us. PR is welcomed.
253-
- https://github.com/casbin/Casbin.NET/issues
253+
- https://github.com/apache/casbin-Casbin.NET/issues
254254
- https://discord.gg/S5UjpzGZjN
255255

0 commit comments

Comments
 (0)