diff --git a/.github/workflows/lint-name.yaml b/.github/workflows/lint-name.yaml index fdb0c99045..319ff3acad 100644 --- a/.github/workflows/lint-name.yaml +++ b/.github/workflows/lint-name.yaml @@ -7,6 +7,9 @@ on: - synchronize - edited +env: + GITHUB_PAT: "${{ secrets.KIVA_ROBOT_GITHUB_PAT || github.token }}" + jobs: lint-title: runs-on: ubuntu-latest @@ -15,9 +18,9 @@ jobs: - uses: actions/checkout@v3 with: repository: kiva/github-actions - token: ${{ secrets.KIVA_ROBOT_GITHUB_PAT || github.token }} + token: ${{ env.GITHUB_PAT }} path: .github/ - name: lint-pr uses: ./.github/actions/lint-pr env: - GITHUB_PAT: ${{ secrets.KIVA_ROBOT_GITHUB_PAT }} + GITHUB_PAT: ${{ env.GITHUB_PAT }} diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index d3910efd16..ad8a8b4ce7 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -7,7 +7,7 @@ on: - main env: - GITHUB_PAT: "${{ secrets.KIVA_ROBOT_GITHUB_PAT }}" + GITHUB_PAT: "${{ secrets.KIVA_ROBOT_GITHUB_PAT || github.token }}" AWS_REGION: "us-west-2" AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}" AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}" @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v3 with: repository: kiva/github-actions - token: ${{ env.GITHUB_PAT || github.token }} + token: ${{ env.GITHUB_PAT }} path: .github/ - uses: snow-actions/sparse-checkout@v1.2.0 with: diff --git a/package-lock.json b/package-lock.json index f207be2369..29b3e0dc99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43833,9 +43833,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "engines": { "node": ">=0.10.0" } @@ -77855,9 +77855,9 @@ } }, "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==" }, "wordwrap": { "version": "0.0.2",