From 725ff9cc682580dbed1dd3bb6bb4b5694c988992 Mon Sep 17 00:00:00 2001 From: Tim Curtin <8890118+timm088@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:31:58 +1100 Subject: [PATCH] Change github token usage (#1253) --- .github/workflows/publish-docs.yaml | 3 +-- .github/workflows/publish.yaml | 1 - .github/workflows/secret-scan.yaml | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index df69be9f2e..b49f93c574 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -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 }} @@ -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 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4c029e1d25..f12497e76a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: diff --git a/.github/workflows/secret-scan.yaml b/.github/workflows/secret-scan.yaml index 1121ae04fb..42e1a63912 100644 --- a/.github/workflows/secret-scan.yaml +++ b/.github/workflows/secret-scan.yaml @@ -11,4 +11,4 @@ jobs: - uses: gitleaks/gitleaks-action@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} \ No newline at end of file + GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}