Skip to content

Commit

Permalink
ci: use regular variable for bot app id
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Sep 30, 2024
1 parent 363b6b6 commit eff82c7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/update-inputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ jobs:
with:
commit-message: "flake: update all inputs"
secrets:
APP_ID: ${{ secrets.APP_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
5 changes: 1 addition & 4 deletions .github/workflows/update-lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:
default: ""
type: string
secrets:
APP_ID:
description: GitHub Bot Application ID
required: true
PRIVATE_KEY:
description: GitHub Bot Application client secret
required: true
Expand All @@ -31,7 +28,7 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

- name: Checkout repository
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/update-nixpkgs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ jobs:
commit-message: "flake: update nixpkgs"
flake-inputs: "nixpkgs nixpkgs-stable"
secrets:
APP_ID: ${{ secrets.APP_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

0 comments on commit eff82c7

Please sign in to comment.