Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ on:
schedule:
- cron: '30 6 * * *'

permissions:
contents: read

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write # required for closing issues and adding labels/comments
pull-requests: write # required for closing PRs and adding labels/comments
steps:
- uses: actions/stale@v9
with:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
branches: [ main ]
pull_request:

permissions:
contents: read

jobs:
CodeQL-Build:
runs-on: ubuntu-latest

permissions:
security-events: write # required for uploading CodeQL analysis results
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/component-owners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ name: 'Component Owners'
on:
pull_request_target:

permissions:
contents: read

jobs:
run_self:
runs-on: ubuntu-latest
name: Auto Assign Owners
permissions:
pull-requests: write # required for assigning reviewers and adding labels
steps:
- uses: dyladan/component-owners@main
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/label-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "Label PR"
on:
- pull_request_target

permissions:
contents: read

jobs:
labeler:
name: 'Add component labels'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/peer-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:

permissions:
contents: read

jobs:
peer-api-check:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ on:
- edited
- synchronize

permissions:
contents: read

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
pull-requests: write # required for commenting on PRs about title validation
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-please-validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
pull_request:

permissions:
contents: read

jobs:
rp-validate:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ on:
branches:
- main

permissions:
contents: read

name: Run Release Please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write # required for release-please to create releases and update files
pull-requests: write # required for release-please to create and update PRs
id-token: write
steps:
# The logic below handles the npm publication:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-all-versions.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- labeled
- unlabeled

permissions:
contents: read

jobs:
parse-labels:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-all-versions.push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- "release/**"
- "release-please/**"

permissions:
contents: read

jobs:
tav:
uses: ./.github/workflows/test-all-versions.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-all-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
build-and-cache:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
build-and-cache:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-otel-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Create or Update OpenTelemetry Update PR
on:
workflow_dispatch:

permissions:
contents: read

jobs:
create-or-update-deps-pr:
runs-on: ubuntu-latest
Expand Down