Skip to content

Sync project branch #534

Sync project branch

Sync project branch #534

---
name: Sync project branch
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
sync-project-branch:
runs-on: ubuntu-latest
if: github.repository_owner == 'jenkinsci'
steps:
- uses: actions/checkout@v4
with:
ref: gsoc-2023-project
- run: |
git fetch --unshallow origin || git fetch origin
git config user.email "[email protected]"
git config user.name "Sync project branch action"
git merge --no-edit origin/master
- uses: peter-evans/create-pull-request@v7
with:
title: Merge remote-tracking branch `origin/master` into `gsoc-2023-project`
branch: sync-project-branch
delete-branch: true