diff --git a/.github/workflows/label_pr.yml b/.github/workflows/label_pr.yml index f87b46339b9..1440ca448a8 100644 --- a/.github/workflows/label_pr.yml +++ b/.github/workflows/label_pr.yml @@ -49,7 +49,7 @@ jobs: git config --global user.name "mo-auto" git config --global user.email "54212639+mo-auto@users.noreply.github.com" git config --global user.signingkey "${{ steps.import_gpg.outputs.keyid }}" - echo "${{ secrets.MOWORKFLOWTOKEN }}" > token.txt + echo "${{ secrets.MOAUTO_WORKFLOW_TOKEN }}" > token.txt gh auth login --with-token < token.txt if [[ "${{github.event_name}}" == "issues" ]]; then echo "Activated by an issue event" @@ -67,4 +67,4 @@ jobs: branch=${{github.base_ref}} title=$(jq --raw-output .pull_request.title "$GITHUB_EVENT_PATH") fi - sudo python3 ./automation/github-labels/label.py ${issue_or_pull_number} ${changed_files} ${branch} ${operation} ${title} \ No newline at end of file + sudo python3 ./automation/github-labels/label.py ${issue_or_pull_number} ${changed_files} ${branch} ${operation} ${title}