From ba2e72b6fc2a2c681d80c364817a7f72c66a567e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 12 Sep 2023 16:08:00 +0100 Subject: [PATCH] Use ack environment with PAT --- .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