Skip to content

Commit

Permalink
Update auto-comment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fineanmol authored Sep 15, 2024
1 parent eb97b25 commit 135c780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
fi
shell: bash

- name: Authenticate with GitHub CLI
run: echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
- name: Authenticate with GitHub CLI using PAT
run: echo "${{ secrets.PAT_TOKEN }}" | gh auth login --with-token

- name: Comment on issue/PR
run: |
Expand All @@ -43,6 +43,6 @@ jobs:
COMMENT_BODY: ${{ env.COMMENT_BODY }}
ITEM_NUMBER: ${{ env.ITEM_NUMBER }}
GH_COMMAND: ${{ env.GH_COMMAND }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
shell: bash
if: env.GH_COMMAND != ''

0 comments on commit 135c780

Please sign in to comment.