Skip to content

cookie policy set sameSite as none for cross platform #26

cookie policy set sameSite as none for cross platform

cookie policy set sameSite as none for cross platform #26

Workflow file for this run

name: Auto Merge Frontend/Backend to Main
on:
push:
branches:
- frontend
- backend
jobs:
merge-to-main:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
ref: ${{ github.event.ref }}
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Set up Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Merge to main
id: merge
run: |
git fetch origin main
git checkout main
git merge --no-ff --allow-unrelated-histories ${{ github.event.ref }} || echo "Merge conflict detected" > conflict.txt
- name: Check for conflicts
if: failure()
run: |
cat conflict.txt
exit 1
- name: Push changes to main
if: success()
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
git push https://[email protected]/Md-Rubel-Ahmed-Rana/Team-Management-App.git main