Skip to content

Commit 3e75f9f

Browse files
authored
Bug: fix env variables in release automation (#1036)
1 parent 6392861 commit 3e75f9f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/pre-release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- uses: tibdex/github-app-token@v1
2323
id: generate-token
2424
with:
25-
app_id: ${{ secrets.APP_ID }}
26-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
25+
app_id: ${{ secrets.ODH_RELEASE_APP_ID }}
26+
private_key: ${{ secrets.ODH_RELEASE_APP_PRIVATE_KEY }}
2727
- name: Validate semver
2828
run: ./.github/scripts/validate-semver.sh v${{ env.VERSION }}
2929
- uses: ./.github/actions/update-manifest-branches
@@ -61,8 +61,8 @@ jobs:
6161
- uses: tibdex/github-app-token@v1
6262
id: generate-token
6363
with:
64-
app_id: ${{ secrets.APP_ID }}
65-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
64+
app_id: ${{ secrets.ODH_RELEASE_APP_ID }}
65+
private_key: ${{ secrets.ODH_RELEASE_APP_PRIVATE_KEY }}
6666
- name: Create release branch
6767
run: |
6868
git checkout -b odh-${{ env.VERSION }}

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- uses: tibdex/github-app-token@v1
1313
id: generate-token
1414
with:
15-
app_id: ${{ secrets.APP_ID }}
16-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
15+
app_id: ${{ secrets.ODH_RELEASE_APP_ID }}
16+
private_key: ${{ secrets.ODH_RELEASE_APP_PRIVATE_KEY }}
1717
- name: Get release data from pr
1818
uses: peter-evans/find-comment@v3
1919
id: fc

0 commit comments

Comments
 (0)