mirror of
https://github.com/kedro-org/kedro.git
synced 2026-03-27 08:51:06 +00:00
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
896 B
YAML
30 lines
896 B
YAML
name: Sync `main` and `develop`
|
|
# This workflow merges commits from `main` branch to `develop` branch if the commits can be merged
|
|
# cleanly, otherwise creates a PR for the maintainers to manually resolve the conflicts.
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '*/30 * * * *' # every 30 minutes
|
|
workflow_dispatch: # on button click
|
|
|
|
jobs:
|
|
sync:
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.GH_TAGGING_TOKEN }}
|
|
|
|
- name: Set git email and name
|
|
run: |
|
|
git config --global user.email "kedro@kedro.com"
|
|
git config --global user.name "Kedro"
|
|
|
|
- name: Maybe merge to develop or raise a PR
|
|
run: ./tools/github_actions/merge.sh . "main" "develop" "${{ secrets.GH_TAGGING_TOKEN }}"
|