From 7a8681ec9c03eff35eb5b9d105359920127d7deb Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Wed, 28 Dec 2022 17:25:06 -0500 Subject: [PATCH] ci(workflows): [`add-to-project`] add items from repo admin account Signed-off-by: Lexus Drumgold --- .dictionary.txt | 1 + .github/workflows/add-to-project.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.dictionary.txt b/.dictionary.txt index cd5212ad..3cb0523e 100644 --- a/.dictionary.txt +++ b/.dictionary.txt @@ -25,6 +25,7 @@ npmrc nums pathe pkgs +pnpm posix preid seglen diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index f0990bb5..c1857d1a 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -25,6 +25,6 @@ jobs: name: Add ${{ format('#{0}', github.event.number || github.event.issue.number) }} to project uses: actions/add-to-project@v0.4.0 with: - github-token: ${{ secrets.PAT_BOT }} + github-token: ${{ secrets.PAT_REPO }} project-url: | ${{ format('{0}/orgs/{1}/projects/{2}', github.server_url, github.repository_owner, secrets.GH_PROJECT_ID) }}