Skip to content

Commit

Permalink
Change github token usage (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
timm088 authored Dec 7, 2023
1 parent f2b519e commit 725ff9c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
name: Publish SDK Reference Docs
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.PLATFORM_SA_GITHUB_TOKEN }}
SDK_PUBLISH_SLACK_WEBHOOK: ${{ secrets.SDK_PUBLISH_SLACK_WEBHOOK }}
NETLIFY_BUILD_HOOK: ${{ secrets.NETLIFY_BUILD_HOOK }}
GITHUB_USER: ${{ github.actor }}
Expand All @@ -25,7 +24,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: immutable/imx-docs
token: ${{ secrets.PLATFORM_SA_GITHUB_TOKEN }}
token: ${{ secrets.TS_IMMUTABLE_SDK_GITHUB_TOKEN }}
path: imx-docs
ref: main

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
name: Publish Workflow
runs-on: ubuntu-latest-4-cores
env:
GH_TOKEN: ${{ secrets.PLATFORM_SA_GITHUB_TOKEN }}
NODE_OPTIONS: --max-old-space-size=14366
SDK_PUBLISH_SLACK_WEBHOOK: ${{ secrets.SDK_PUBLISH_SLACK_WEBHOOK }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/secret-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

0 comments on commit 725ff9c

Please sign in to comment.