Skip to content

ff-merge

ff-merge #30

Workflow file for this run

name: ff-merge
on:
workflow_dispatch:
inputs:
branches:
description: 'branches/all to ff merge branch-next into (separate by blank only)'
default: 'master dunfell gatesgarth hardknott honister kirkstone zeus langdale mickledore nanbield scarthgap styhead'
required: true
jobs:
ff-merge:
runs-on: ubuntu-22.04
strategy:
matrix:
branch: ${{ github.event.inputs.branches.split(' ') }}

Check failure on line 14 in .github/workflows/ff-merge.yml

View workflow run for this annotation

GitHub Actions / ff-merge

Invalid workflow file

The workflow is not valid. .github/workflows/ff-merge.yml (Line: 14, Col: 17): Unexpected symbol: '('. Located at position 35 within expression: github.event.inputs.branches.split(' ') .github/workflows/ff-merge.yml (Line: 14, Col: 17): Unexpected value '${{ github.event.inputs.branches.split(' ') }}'
fail-fast: false
steps:
- name: clone meta-aws ${{ github.event.inputs.branch }} branch
uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
path: meta-aws
fetch-depth: 0
token: ${{ secrets.BOT_CREDENTIAL }}
- name: merge ${{ matrix.branch }}-next into ${{ matrix.branch }}
working-directory: meta-aws
run: |
git config --global user.name aws-iot-embedded-linux-ci
git config --global user.email aws-iot-embedded-linux-ci@users.noreply.github.com
git merge --ff-only origin/${{ matrix.branch }}-next
- name: push ${{ matrix.branch }}
working-directory: meta-aws
run: |
git push -u origin ${{ matrix.branch }}