From 02303301a772b60cdaef4dcf393e7e81dc54cda0 Mon Sep 17 00:00:00 2001 From: Kenji Miyake Date: Sat, 11 Dec 2021 21:54:05 +0900 Subject: [PATCH 1/2] ci: fix CI settings Signed-off-by: Kenji Miyake --- .github/workflows/build-and-test-arm-pr.yaml | 6 +++--- .github/workflows/deploy-docs.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-and-test-arm-pr.yaml b/.github/workflows/build-and-test-arm-pr.yaml index ed22787d98acd..62b657d2fb02c 100644 --- a/.github/workflows/build-and-test-arm-pr.yaml +++ b/.github/workflows/build-and-test-arm-pr.yaml @@ -1,13 +1,13 @@ name: build-and-test-arm-pr on: - issue_comment: + pull_request: types: - - created + - labeled jobs: build-and-test-arm: - if: ${{ github.event.pull_request && contains(github.event.comment.body, '/arm') }} + if: ${{ github.event.label.name == 'ARM64' }} runs-on: [self-hosted, linux, ARM64] container: ros:galactic steps: diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index d12e80c439cd5..39ad0ff7a7b1f 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -11,16 +11,16 @@ on: - "**/*.svg" - "**/*.png" - "**/*.jpg" - issue_comment: + pull_request: types: - - created + - labeled jobs: deploy-docs: runs-on: ubuntu-latest steps: - name: Deploy docs - if: ${{ github.event.push || contains(github.event.comment.body, '/docs') }} + if: ${{ github.event.push || github.event.label.name == 'documentation' }} uses: autowarefoundation/autoware-github-actions/deploy-docs@tier4/proposal with: token: ${{ secrets.GITHUB_TOKEN }} From 64151d2ca56034fe7214d9e59ce51152678ea93c Mon Sep 17 00:00:00 2001 From: Kenji Miyake Date: Sat, 11 Dec 2021 22:00:54 +0900 Subject: [PATCH 2/2] fix semantic-pull-request Signed-off-by: Kenji Miyake --- .github/workflows/semantic-pull-request.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/semantic-pull-request.yaml b/.github/workflows/semantic-pull-request.yaml index 1e6d300473b59..0edf1946330d3 100644 --- a/.github/workflows/semantic-pull-request.yaml +++ b/.github/workflows/semantic-pull-request.yaml @@ -10,5 +10,3 @@ on: jobs: semantic-pull-request: uses: autowarefoundation/autoware-github-actions/.github/workflows/semantic-pull-request.yaml@tier4/proposal - secrets: - token: ${{ secrets.GITHUB_TOKEN }}