Merge pull request #81 from lhdjply/patch-1 #212
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge master branch to lvgl_javascript | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
merge-branch: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Wait for Unix port build to succeed | |
uses: fountainhead/action-wait-for-check@v1.0.0 | |
id: wait-for-build | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
checkName: build | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
- name: Skip merge | |
run: exit 1 | |
if: steps.wait-for-build.outputs.conclusion == 'failure' | |
- uses: actions/checkout@master | |
- name: Merge to lvgl_javascript branch | |
uses: devmasx/merge-branch@v1.1.0 | |
with: | |
type: now | |
target_branch: 'lvgl_javascript_v9' | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Trigger Javascript port build | |
uses: benc-uk/workflow-dispatch@a69ac85ea87587e76bb4f262eb868205dfcab8e8 | |
with: | |
workflow: Build Javascript v9 port | |
ref: ${{ github.event.ref }} | |
token: ${{ secrets.LVGL_BOT_TOKEN }} |