ci more formatting action updates

This commit is contained in:
embeddedt
2021-12-12 21:39:34 -05:00
committed by GitHub
parent 065d821c70
commit 1f6037ce98

View File

@@ -4,16 +4,15 @@ on:
types: [created] types: [created]
jobs: jobs:
test-github:
runs-on: ubuntu-latest
steps:
- run: echo '${{ toJSON(github) }}'
update-formatting: update-formatting:
continue-on-error: true continue-on-error: true
if: github.event.issue.user.login == 'embeddedt' if: github.event.issue.user.login == 'embeddedt'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch
- uses: khan/pull-request-comment-trigger@bb03972cc9f423111f3b5a23fcc9fd32741acabb - uses: khan/pull-request-comment-trigger@bb03972cc9f423111f3b5a23fcc9fd32741acabb
if: success()
id: check-comment id: check-comment
with: with:
trigger: '@lvgl-bot format' trigger: '@lvgl-bot format'
@@ -24,12 +23,11 @@ jobs:
- run: exit 1 - run: exit 1
if: steps.check.outputs.triggered != 'true' if: steps.check.outputs.triggered != 'true'
- name: Install astyle - name: Install astyle
if: success()
run: | run: |
sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse" sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse"
sudo apt-get update -y -qq sudo apt-get update -y -qq
sudo apt-get install astyle sudo apt-get install astyle
- uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch
- uses: actions/checkout@v2 - uses: actions/checkout@v2
if: success() if: success()
with: with: