feat(aws-mcp): support EKS workload identity #7401
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: "[Lint] Ruff Linter" | |
| on: | |
| push: | |
| # Run superlinter on pushes to default branch | |
| branches: | |
| - main | |
| # Run superlinter on pull request events | |
| pull_request: | |
| paths: | |
| - '**/*.py' | |
| - 'pyproject.toml' | |
| - 'uv.lock' | |
| - 'Makefile' | |
| # Declare default permissions as read-only | |
| permissions: read-all | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| linter: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| statuses: write | |
| steps: | |
| - name: 🔒 harden runner | |
| uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| python-version: "3.13.2" | |
| enable-cache: true | |
| - name: Run ruff linter # python linting | |
| run: make lint |