Skip to content

Commit

Permalink
[.github] - fix: use secret for INFRA_DISPATCH_APP_ID in GitHub Actions
Browse files Browse the repository at this point in the history
 - Changed the GitHub App ID reference to use secrets for enhanced security and better management of sensitive data
 - This update ensures that the App ID is not exposed in the workflow file, aligning with best practices for credential storage
  • Loading branch information
JulesBelveze committed Nov 15, 2024
1 parent c583ac6 commit a7b2e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-connectors-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.INFRA_DISPATCH_APP_ID }}
app-id: ${{ secrets.INFRA_DISPATCH_APP_ID }}
private-key: ${{ secrets.INFRA_DISPATCH_APP_PRIVATE_KEY }}

- name: Trigger dust-infra workflow
Expand Down

0 comments on commit a7b2e7e

Please sign in to comment.