Skip to content

fix: update workflow file #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Comment PR
if: github.base_ref == 'main' && github.head_ref != 'next'
if: github.base_ref == 'main' && github.head_ref != 'staging'
uses: thollander/actions-comment-pull-request@v2
with:
message: |
We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch.
We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the staging branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch.
- name: Check branch
if: github.base_ref == 'main' && github.head_ref != 'next'
if: github.base_ref == 'main' && github.head_ref != 'staging'
run: |
echo "ERROR: We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch."
echo "ERROR: We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the staging branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch."
exit 1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<PackageId>contentstack.management.aspnetcore</PackageId>
<PackageVersion>$(Version)</PackageVersion>
<Authors>Contentstack</Authors>
<Copyright>Copyright © 2012-2024 Contentstack. All Rights Reserved</Copyright>
<Copyright>Copyright © 2012-2025 Contentstack. All Rights Reserved</Copyright>
<Owners>Contentstack </Owners>
<PackageProjectUrl>https://github.com/contentstack/contentstack-management-dotnet</PackageProjectUrl>
<PackageReleaseNotes>Initial Release</PackageReleaseNotes>
Expand All @@ -15,7 +15,7 @@
<Description>.NET SDK for the Contentstack Content Management API.</Description>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageTags>v$(Version)</PackageTags>
<ReleaseVersion>0.1.3</ReleaseVersion>
<ReleaseVersion>$(Version)</ReleaseVersion>
<RootNamespace>Contentstack.Management.ASPNETCore</RootNamespace>
</PropertyGroup>

Expand Down
Loading