Skip to content

Commit

Permalink
Doc validator token (#4130)
Browse files Browse the repository at this point in the history
* doc validator token

* add github token back

* remove test line
  • Loading branch information
ie-pham authored Sep 26, 2024
1 parent 97ff80a commit 6f3a527
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}}"
2 changes: 2 additions & 0 deletions .github/workflows/doc-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
--filter-mode=nofilter \
--name=doc-validator \
--reporter=github-pr-review
env:
REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 6f3a527

Please sign in to comment.