Action to label PRs

I’m trying to add an action that automatically labels my PRs on submission. What I have so far is this:

name: Label PRs

on:
  pull_request:
    paths:
      - 'A/**'
      - 'B/**'

jobs:
  label_pr:
    runs-on: windows
    steps:
      - name: Assign Label "MYLABEL" to PR
        uses: actions-ecosystem/action-add-labels@v1
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          labels: |
            MYLABEL

The idea here is whenever the PR refers to paths “A” or “B”, I’d like to add MYLABEL to it. The label exists and is currently assigned manually. I have a windows runner up and working (as I have other actions that work as expected). The action is triggered as expected, however fails during processing. The log is (sensitive information replaced with …):

2024-09-11T10:27:09.2522724Z srvgitea(version:v0.2.10) received task 17 of job 7, be triggered by event: pull_request
2024-09-11T10:27:09.2937315Z workflow prepared
2024-09-11T10:27:09.2937315Z evaluating expression 'success()'
2024-09-11T10:27:09.2937315Z expression 'success()' evaluated to 'true'
2024-09-11T10:27:09.3037858Z   ☁  git clone 'https://github.com/actions-ecosystem/action-add-labels' # ref=v1
2024-09-11T10:27:09.3037858Z   cloning https://github.com/actions-ecosystem/action-add-labels to ...
2024-09-11T10:27:09.9509261Z Unable to pull refs/heads/v1: worktree contains unstaged changes
2024-09-11T10:27:09.9509261Z Cloned https://github.com/actions-ecosystem/action-add-labels to ...
2024-09-11T10:27:09.9755685Z Checked out v1
2024-09-11T10:27:09.9776595Z evaluating expression ''
2024-09-11T10:27:09.9776595Z expression '' evaluated to 'true'
2024-09-11T10:27:09.9781943Z ⭐ Run Main Assign Label "MYLABEL" to PR
2024-09-11T10:27:09.9808831Z expression '${{ github.token }}' rewritten to 'format('{0}', github.token)'
2024-09-11T10:27:09.9808831Z evaluating expression 'format('{0}', github.token)'
2024-09-11T10:27:09.9819238Z expression 'format('{0}', github.token)' evaluated to '%!t(string=***)'
2024-09-11T10:27:09.9820005Z expression '${{ github.repository }}' rewritten to 'format('{0}', github.repository)'
2024-09-11T10:27:09.9825287Z evaluating expression 'format('{0}', github.repository)'
2024-09-11T10:27:09.9830559Z expression 'format('{0}', github.repository)' evaluated to '%!t(string=...)'
2024-09-11T10:27:09.9840924Z type=remote-action actionDir=... actionPath= workdir=...actionCacheDir=... actionName=actions-ecosystem-action-add-labels@v1 containerActionDir=...
2024-09-11T10:27:09.9851838Z Removing ...action-add-labels@v1/.gitignore before docker cp
2024-09-11T10:27:09.9857042Z Stripping prefix:...
2024-09-11T10:27:10.4600522Z executing remote job container: [node ...]
2024-09-11T10:27:10.4662806Z Failed to setup Pty Unsupported
2024-09-11T10:27:12.5173764Z ::error::HttpError: Bad credentials
2024-09-11T10:27:12.5317087Z ::error::HttpError: Bad credentials
2024-09-11T10:27:12.5322664Z ::error::Bad credentials
2024-09-11T10:27:12.5595566Z exit status 1
2024-09-11T10:27:12.5600747Z Cleaning up container for job label_pr
2024-09-11T10:27:12.7924230Z 🏁  Job failed
2024-09-11T10:27:12.7929897Z Job 'label_pr' failed

I get there’s something wrong with the credentials, however I was unable to find any ideas what to do/change about it. Do I need to create a token for this action? If so, which rights are required and how can I pass it? Any ideas are appreciated.