Skip to content

Update aormsby/Fork-Sync-With-Upstream-action to v3.4.1 #67

Update aormsby/Fork-Sync-With-Upstream-action to v3.4.1

Update aormsby/Fork-Sync-With-Upstream-action to v3.4.1 #67

Workflow file for this run

name: "Upstream Sync"
on:
schedule:
# at 07:15 every day
- cron: "15 7 * * *"
pull_request:
branches:
- master
- main
workflow_dispatch:
jobs:
poky_branch:
runs-on: ubuntu-latest
name: Poky branch
strategy:
matrix:
branch:
- master
- dunfell
- honister
- kirkstone
- thud
- warrior
- pyro
- rocko
- sumo
- scarthgap
steps:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4
# https://github.com/aormsby/Fork-Sync-With-Upstream-action
- name: Sync upstream commits
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@1090e365224fc834e7e1de521c417ded2d6fcb53 # v3.4.1
with:
target_sync_branch: ${{ matrix.branch }}
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
upstream_sync_branch: ${{ matrix.branch }}
host_domain: git.yoctoproject.org
upstream_sync_repo: git/poky
test_mode: ${{ github.event_name == 'pull_request' }}
- name: New commits synced
if: steps.sync.outputs.has_new_commits == 'true'
run: echo "New commits were synced." >> $GITHUB_STEP_SUMMARY
- name: No new commits
if: steps.sync.outputs.has_new_commits == 'false'
run: echo "There were no new commits." >> $GITHUB_STEP_SUMMARY