From 6f3a527e4f7fbbf434e3935e348edf3fdc211285 Mon Sep 17 00:00:00 2001 From: J Pham <94262131+ie-pham@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:11:36 -0500 Subject: [PATCH] Doc validator token (#4130) * doc validator token * add github token back * remove test line --- .github/workflows/backport.yml | 9 +-------- .github/workflows/doc-validator.yml | 2 ++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 765c82957e1..3504d609613 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -15,13 +15,6 @@ jobs: main: runs-on: ubuntu-latest steps: - - name: Get app token - uses: actions/create-github-app-token@v1 - id: get-github-app-token - with: - app-id: ${{secrets.APP_ID}} - private-key: ${{secrets.APP_PRIVATE_KEY}} - owner: ${{ github.repository_owner }} - name: Checkout Actions uses: actions/checkout@v4 with: @@ -35,6 +28,6 @@ jobs: - name: Run backport uses: ./actions/backport with: - token: ${{ steps.get-github-app-token.outputs.token }} + token: ${{secrets.GITHUB_TOKEN}} labelsToAdd: "backport" title: "[{{base}}] {{originalTitle}}" \ No newline at end of file diff --git a/.github/workflows/doc-validator.yml b/.github/workflows/doc-validator.yml index 301a61eef71..36c62ceaba8 100644 --- a/.github/workflows/doc-validator.yml +++ b/.github/workflows/doc-validator.yml @@ -30,3 +30,5 @@ jobs: --filter-mode=nofilter \ --name=doc-validator \ --reporter=github-pr-review + env: + REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"