ci: Update assign.yml

This commit is contained in:
Fabian-Lars
2024-07-22 17:35:45 +02:00
committed by GitHub
parent 5e67a5234c
commit cf4749af1e

View File

@@ -7,15 +7,10 @@ on:
jobs:
auto_assign:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
steps:
- name: Set up GitHub CLI
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
- name: Auto-assign PR to author
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.ORG_TAURI_BOT_PAT }}
run: |
pr_number=${{ github.event.pull_request.number }}
pr_author=${{ github.event.pull_request.user.login }}