⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
created check-branch.yml
daniel31x13ada4e53b466f
diff --git a/.github/workflows/check-branch.yml b/.github/workflows/check-branch.ymlnew file mode 100644index 00000000..68232f24--- /dev/null+++ b/.github/workflows/check-branch.yml@@ -0,0 +1,18 @@+name: Check pull request source branch+on:+ pull_request_target:+ types:+ - opened+ - reopened+ - synchronize+ - edited+jobs:+ check-branches:+ runs-on: ubuntu-latest+ steps:+ - name: Check branches+ run: |+ if [ ${{ github.head_ref }} != "dev" ] && [ ${{ github.base_ref }} == "main" ]; then+ echo "Merge requests to main branch are only allowed from dev branch. Please rebase your changes to dev branch."+ exit 1+ fi