[BUG] datadog-cluster-agent auto-detect failure when using EKS pod identity #18
This file contains 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: "Assign issue to a team" | |
on: | |
issues: | |
types: [opened, reopened] | |
jobs: | |
auto_assign_issue: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/datadog/agent-issue-auto-assign:latest | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
packages: read | |
issues: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- name: Install dependencies | |
# Dependencies are installed at runtime. Otherwise it would create a huge image see https://hub.docker.com/r/pytorch/pytorch/tags | |
run: | | |
pip install --upgrade pip && pip install --no-compile --no-cache-dir torch transformers invoke codeowners slack-sdk PyGithub python-gitlab semver | |
- name: Assign issue | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_API_TOKEN : ${{ secrets.SLACK_DATADOG_AGENT_BOT_TOKEN }} | |
run: | | |
inv -e issue.assign-owner -i ${{ github.event.issue.number }} |