[autoscalers] Only use auth to download github files if needed (#7064) #1021
This file contains hidden or 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: Lambda Runner Binaries Syncer | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - .github/workflows/lambda-runner-binaries-syncer.yml | |
| - "terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/**" | |
| jobs: | |
| build: | |
| name: "Run tests for runner binaries syncer lambda" | |
| runs-on: ubuntu-latest | |
| container: node:20 | |
| defaults: | |
| run: | |
| working-directory: terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Build, Lint, and Test | |
| run: make build |