name: Release
on:
  release:
    types:
      - created

jobs:
  patch-release:
    runs-on: ubuntu-latest
    name: Patch Release
    steps:
    - name: Fetch Skare3 Tools
      uses: actions/checkout@v2
      with:
        repository: sot/skare3_tools
        ref: master
        path: skare3_tools
    - name: Release Description and Skare3 Issue
      run: |
        sudo pip3 install setuptools
        sudo pip3 install -r ./skare3_tools/requirements.txt
        sudo pip3 install ./skare3_tools
        skare3-release-merge-info --user $GITHUB_ACTOR --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA
        skare3-create-issue --user $GITHUB_ACTOR --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update'
      env:
        GITHUB_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

name: Release
on:
  release:
    types:
      - created

jobs:
  patch-release:
    runs-on: ubuntu-latest
    name: Patch Release
    steps:
    - name: Fetch Skare3 Tools
      uses: actions/checkout@v2
      with:
        repository: sot/skare3_tools
        ref: master
        path: skare3_tools
    - name: Release Description and Skare3 Issue
      run: |
        sudo pip3 install setuptools
        sudo pip3 install -r ./skare3_tools/requirements.txt
        sudo pip3 install ./skare3_tools
        skare3-release-merge-info --repository $GITHUB_REPOSITORY --sha $GITHUB_SHA
        skare3-create-issue --repository sot/skare3 --latest-release $GITHUB_REPOSITORY --label 'Package update'
      env:
        GITHUB_API_TOKEN: ${{ secrets.SKARE3_CI_API_TOKEN }}

Use github token authentication in workflow
Use github token authentication in workflow

Use github token authentication instead of basic auth