Skip to content

Commit

Permalink
fix: env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Jan 24, 2024
1 parent cb6b1b5 commit a7907a5
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bulk-merge-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -46,7 +46,7 @@
GITHUB_TOKEN: "${{ steps.app-token.outputs.token }}"
run: |
args=()
args+=(--app ${{ env.BOT_USERNAME }})
args+=(--app $BOT_USERNAME)
args+=(--state open)
if [ "${{ github.event.inputs.labels }}" != "any" ]; then
IFS=',' read -ra labels <<< "${{ github.event.inputs.labels }}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout Default Branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -69,8 +69,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flux-hr-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -58,7 +58,7 @@ jobs:
id: kubeconfig
uses: timheuer/base64-to-file@v1
with:
encodedString: "${{ env.KUBECONFIG }}"
encodedString: "$KUBECONFIG"
fileName: kubeconfig

- if: ${{ github.event.inputs.clusterName == '' && github.event.inputs.helmRepoNamespace == '' && github.event.inputs.helmRepoName == '' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/flux-image-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -70,8 +70,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flux-ks-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand All @@ -47,7 +47,7 @@ jobs:
id: kubeconfig
uses: timheuer/base64-to-file@v1
with:
encodedString: "${{ env.KUBECONFIG }}"
encodedString: "$KUBECONFIG"
fileName: kubeconfig

- name: Sync Kustomization
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/label-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Labeler
uses: actions/labeler@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lychee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ env.BOT_APP_ID }}"
private-key: "${{ env.BOT_APP_PRIVATE_KEY }}"
app-id: "$BOT_APP_ID"
private-key: "$BOT_APP_PRIVATE_KEY"

- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit a7907a5

Please sign in to comment.