fix telemetry?

This commit is contained in:
Bryce Lampe
2024-08-12 14:39:18 -07:00
parent 75a73687db
commit c9c5986598
2 changed files with 15 additions and 5 deletions

View File

@@ -8,6 +8,8 @@ runs:
uses: catchpoint/workflow-telemetry-action@v2
with:
comment_on_pr: false
env:
GITHUB_TOKEN: ""
- name: Setup mise
uses: jdx/mise-action@v2

View File

@@ -66,7 +66,11 @@ jobs:
if: github.event_name == 'repository_dispatch' ||
github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
name: prerequisites
permissions:
contents: read
id-token: write
actions: write # For telemetry.
pull-requests: write # For schema comment.
steps:
- name: Checkout Repo
uses: actions/checkout@v4
@@ -176,6 +180,10 @@ jobs:
test:
runs-on: pulumi-ubuntu-8core
permissions:
contents: read
id-token: write
actions: write # For telemetry.
needs:
- prerequisites
strategy:
@@ -187,10 +195,6 @@ jobs:
- dotnet
- go
- java
name: test
permissions:
contents: read
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
@@ -286,6 +290,10 @@ jobs:
if: github.event_name == 'repository_dispatch' ||
github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
actions: write # For telemetry.
steps:
- name: Checkout Repo
uses: actions/checkout@v4