From bb7f4faacd527a653eac830817ce16b6b8d266aa Mon Sep 17 00:00:00 2001 From: Yohann Paris Date: Wed, 17 Apr 2024 17:10:43 -0400 Subject: [PATCH] fix some linting issues --- .github/workflows/integration-issues.yml | 1 + .github/workflows/lint-types.yaml | 3 +++ .github/workflows/publish-client.yml | 9 ++++----- .github/workflows/test-server.yaml | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-issues.yml b/.github/workflows/integration-issues.yml index 51b0410232..1ef3482c38 100644 --- a/.github/workflows/integration-issues.yml +++ b/.github/workflows/integration-issues.yml @@ -4,6 +4,7 @@ name: Add integration tasks to Integration project +# yamllint disable-line rule:truthy on: issues: types: diff --git a/.github/workflows/lint-types.yaml b/.github/workflows/lint-types.yaml index 5a89df5658..2e921a7079 100644 --- a/.github/workflows/lint-types.yaml +++ b/.github/workflows/lint-types.yaml @@ -1,4 +1,7 @@ +--- name: Lint Generated Types + +# yamllint disable-line rule:truthy on: workflow_call: push: diff --git a/.github/workflows/publish-client.yml b/.github/workflows/publish-client.yml index e0687c27dc..d7c65ede34 100644 --- a/.github/workflows/publish-client.yml +++ b/.github/workflows/publish-client.yml @@ -7,9 +7,9 @@ name: Build and Publish hmi-client # yamllint disable-line rule:truthy on: push: - #paths: ['packages/client/**'] - branches: ['use-mac-os-to-build-arm-images'] #, 'main'] - tags: ['*'] + # paths: ['packages/client/**'] + branches: [ 'use-mac-os-to-build-arm-images', 'main' ] + tags: [ '*' ] env: REGISTRY: ghcr.io @@ -20,7 +20,7 @@ jobs: name: Create and Set Tag runs-on: ubuntu-22.04 outputs: - image: ${{ steps.define-tag.outputs.image }} + image: ${{ steps.define-tag.outputs.image }} steps: - name: Define Tag id: define-tag @@ -112,7 +112,6 @@ jobs: tags: ${{ needs.set-tag.outputs.image }}--arm64 arm64-emulation: - if: false runs-on: ubuntu-22.04 needs: set-tag permissions: diff --git a/.github/workflows/test-server.yaml b/.github/workflows/test-server.yaml index b7b1d7a180..5b1bcc9a5b 100644 --- a/.github/workflows/test-server.yaml +++ b/.github/workflows/test-server.yaml @@ -4,6 +4,7 @@ name: Server Tests # Controls when the action will run. +# yamllint disable-line rule:truthy on: # Triggers the workflow on push or pull request events but only for the $default-branch branch push: