-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): update send annotation workflow (#1067)
* change permissions * remove azuere login * re enable permission * remove write permission * update action * fix tracer action :D
- Loading branch information
Showing
2 changed files
with
4 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ on: | |
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
contents: read | ||
|
||
jobs: | ||
deploy-annotation: | ||
|
@@ -32,13 +32,6 @@ jobs: | |
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: 'Azure login' | ||
uses: azure/login@v2 | ||
with: | ||
client-id: ${{ secrets.AZURE_CLIENT_ID }} | ||
tenant-id: ${{ secrets.AZURE_TENANT_ID }} | ||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | ||
|
||
- name: Create Grafana Annotation | ||
run: | | ||
timestamp=$(date +%s%3N) # Use millisecond resolution, as requested by the annotations api | ||
|
@@ -57,7 +50,7 @@ jobs: | |
}" | ||
- name: Send Trace to Azure Monitor | ||
uses: altinn/altinn-platform/actions/[email protected].0 | ||
uses: altinn/altinn-platform/actions/[email protected].1 | ||
with: | ||
connection_string: ${{ secrets.APP_INSIGHTS_CONNECTION_STRING }} | ||
app: "${{ github.event.inputs.app }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters