From 433c4c9b4026459535673e4e24d2e3e23ce26ef9 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 12 Sep 2023 16:31:45 +0100 Subject: [PATCH] Use ack environment with PAT (#136) --- .github/workflows/ack.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ack.yml b/.github/workflows/ack.yml index cce0fa7..8d78105 100644 --- a/.github/workflows/ack.yml +++ b/.github/workflows/ack.yml @@ -53,7 +53,9 @@ jobs: uses: actions/add-to-project@main with: project-url: https://github.com/orgs/ansible/projects/86 - github-token: ${{ secrets.GITHUB_TOKEN }} + # Do not use secrets.GITHUB_TOKEN here because it does not have + # access to projects. Only personal access tokens (PAT) can be used. + github-token: ${{ secrets.BOT_PAT }} # labeled: skip-changelog # label-operator: NOT