Skip to content

Commit

Permalink
test(CI): clone feat/CI into dest branch to see if it retriggers the …
Browse files Browse the repository at this point in the history
…workflow.
  • Loading branch information
khalidbelk committed Nov 13, 2024
1 parent 20f0c78 commit e293bf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/mirrorV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ on:
branches:
- main
- feat/CI
- testCI

jobs:
push_to_mirror:
if: github.event.head_commit.message != '[Mirror CI]'
runs-on: ubuntu-latest
steps:
- name: Checkout source
Expand All @@ -26,4 +28,4 @@ jobs:
git config user.email "action@github.com"
git remote add mirror https://${PAT}@github.com/${{ env.MIRROR_URL }}
git commit --allow-empty -m "[Mirror CI] - Update repository"
git push mirror testCI:feat/CI --force
git push mirror feat/CI:testCI --force

0 comments on commit e293bf9

Please sign in to comment.