From adaaf605399e397ec8e2481bec16722d29327e43 Mon Sep 17 00:00:00 2001 From: Nicolas Schweitzer Date: Tue, 3 Dec 2024 10:19:00 +0100 Subject: [PATCH] add permissions to login into ghcr.io --- .github/workflows/assign_issue.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/assign_issue.yml b/.github/workflows/assign_issue.yml index 5b5be618c85dc8..d26a69dec805c4 100644 --- a/.github/workflows/assign_issue.yml +++ b/.github/workflows/assign_issue.yml @@ -11,7 +11,11 @@ on: jobs: auto_assign_issue: runs-on: ubuntu-latest - container: ghcr.io/datadog/agent-issue-auto-assign:latest + container: + image: ghcr.io/datadog/agent-issue-auto-assign:latest + credentials: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} permissions: issues: write steps: