Revert "revert: remove template vars until common-repo/common-repo#235 lands"

This reverts commit 529f26bad9.
This commit is contained in:
2026-03-15 02:15:41 -07:00
parent 344d38c071
commit 7b4ed7f7bb
2 changed files with 9 additions and 3 deletions

View File

@@ -3,5 +3,11 @@
- "src/**"
- "src/.*"
- "src/.*/**"
- template:
- "src/.github/workflows/release.yaml"
- template-vars:
GH_APP_ID_VAR: CHRISTMAS_ISLAND_APP_ID
GH_APP_KEY_SECRET: CHRISTMAS_ISLAND_PRIVATE_KEY
GH_APP_OWNER: christmas-island
- rename:
- "^src/(.*)$": "$1"

View File

@@ -32,9 +32,9 @@ jobs:
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.CHRISTMAS_ISLAND_APP_ID }}
private-key: ${{ secrets.CHRISTMAS_ISLAND_PRIVATE_KEY }}
owner: christmas-island
app-id: ${{ vars.${GH_APP_ID_VAR:-CHRISTMAS_ISLAND_APP_ID} }}
private-key: ${{ secrets.${GH_APP_KEY_SECRET:-CHRISTMAS_ISLAND_PRIVATE_KEY} }}
owner: ${GH_APP_OWNER:-christmas-island}
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0