diff --git a/.github/scripts/validateActionsAndWorkflows.sh b/.github/scripts/validateActionsAndWorkflows.sh index 8d186ea51a44..e920634b2484 100755 --- a/.github/scripts/validateActionsAndWorkflows.sh +++ b/.github/scripts/validateActionsAndWorkflows.sh @@ -84,7 +84,7 @@ else fi info 'Linting workflows...' -./actionlint -color || EXIT_CODE=1 +./actionlint -color -ignore '"runs-on" section must be sequence node but got mapping node with "!!map" tag' || EXIT_CODE=1 if [[ "$EXIT_CODE" == 0 ]]; then success 'Workflows passed actionlint!' fi diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index b879203f0373..7ef0202dd64e 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -29,7 +29,8 @@ jobs: name: Build and deploy Android needs: validateActor if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores steps: # This action checks-out the repository, so the workflow can access it. - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 @@ -239,7 +240,8 @@ jobs: name: Build and deploy Web needs: validateActor if: ${{ fromJSON(needs.validateActor.outputs.IS_DEPLOYER) }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores steps: # This action checks-out the repository, so the workflow can access it. - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index 6cda4e5141b3..b1bb192ef555 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -62,7 +62,8 @@ jobs: name: Build and deploy Android for testing needs: [validateActor, getBranchRef] if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores env: PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }} steps: @@ -232,7 +233,8 @@ jobs: if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }} env: PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }} - runs-on: ubuntu-latest-16-cores + runs-on: + labels: ubuntu-latest-16-cores steps: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 with: