Skip to content

Commit

Permalink
Update ot plan and apply with option secrets (#29)
Browse files Browse the repository at this point in the history
For grafana-cloud-oncall-config repo we need to use GRAFANA_ONCALL_ACCESS_TOKEN and GRAFANA_ONCALL_URL.
  • Loading branch information
John2020-cyber committed Apr 17, 2024
1 parent ea4feeb commit 06cf6f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ot-plan-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ on:
SLACK_WEBHOOK_URL:
description: "Secret to send success/failure message to slack"
required: true

GRAFANA_ONCALL_ACCESS_TOKEN:
description: "Grafana OnCall api token"
required: false

GRAFANA_ONCALL_URL:
description: "Grafana OnCall URL"
required: false

env:
GITHUB_OWNER: ${{ secrets.OPENTOFU_GITHUB_OWNER }}
Expand Down

0 comments on commit 06cf6f7

Please sign in to comment.