Skip to content

Commit 902ce49

Browse files
fix: use GitHub Secrets for Teams webhook URL (security fix)
1 parent 5caea1e commit 902ce49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync-dev-to-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ permissions:
1919
env:
2020
SOURCE_BRANCH: dev
2121
TARGET_BRANCH: main
22-
# Power Automate webhook for Teams notifications
23-
TEAMS_WEBHOOK_URL: "https://default097499ff179d4959ab0286d364125b.fc.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/a6dd70a2ec694cf6957a2620e1d89c23/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=B_MxbOdUi92JYpARbYIcaDNwUdSqILgO1ZV6T7vsQXU"
22+
# Teams webhook URL stored in GitHub Secrets for security
23+
TEAMS_WEBHOOK_URL: ${{ secrets.TEAMS_WEBHOOK_URL }}
2424

2525
jobs:
2626
sync-branches:

0 commit comments

Comments
 (0)