Skip to content

Commit

Permalink
fix: update GH token name
Browse files Browse the repository at this point in the history
  • Loading branch information
Souvikns committed Feb 11, 2025
1 parent 85e5cd5 commit f81e803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maintainers-tsc-changes-verification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
id: verify-changes
uses: actions/github-script@v6
with:
github-token: ${{ env.GITHUB_TOKEN }}
github-token: ${{ env.GH_TOKEN }}
script: |
const yaml = require("js-yaml");
const fs = require("fs");
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- name: Comment and close the PR if there are any critical changes done by human
uses: actions/github-script@v6
with:
github-token: ${{ env.GITHUB_TOKEN }}
github-token: ${{ env.GH_TOKEN }}
script: |
const errorMessagesString = `${{ needs.verify-changes-if-tsc-if-maintainers.outputs.errorMessages }}`;
const errorMessages = errorMessagesString ? JSON.parse(errorMessagesString) : [];
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
if: steps.verify-changes-if-tsc-if-maintainers.outputs.removedTscMembers != ''
uses: actions/github-script@v6
with:
github-token: ${{ env.GITHUB_TOKEN }}
github-token: ${{ env.GH_TOKEN }}
script: |
const issueComment = {
owner: github.context.repo.owner,
Expand Down

0 comments on commit f81e803

Please sign in to comment.