Skip to content

Commit

Permalink
fix: tracked down general PAT usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dyersituations committed Apr 25, 2024
1 parent a6cb775 commit d79bb60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint-name.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- synchronize
- edited

env:
GITHUB_PAT: "${{ secrets.KIVA_ROBOT_GITHUB_PAT || github.token }}"

jobs:
lint-title:
runs-on: ubuntu-latest
Expand All @@ -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 }}
4 changes: 2 additions & 2 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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/[email protected]
with:
Expand Down

0 comments on commit d79bb60

Please sign in to comment.