Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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,8 +3,14 @@ on:
schedule:
- cron: '30 6 * * *'

permissions:
contents: read

jobs:
stale:
permissions:
issues: write # required for closing stale issues
pull-requests: write # required for closing stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches: [ main ]
pull_request:

permissions:
contents: read

jobs:
CodeQL-Build:
runs-on: ubuntu-latest
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,8 +2,13 @@ name: 'Component Owners'
on:
pull_request_target:

permissions:
contents: read

jobs:
run_self:
permissions:
pull-requests: write # required for assigning reviewers to PRs
runs-on: ubuntu-latest
name: Auto Assign Owners
steps:
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
3 changes: 3 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- edited
- synchronize

permissions:
contents: read

jobs:
main:
name: Validate PR title
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
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
branches:
- main

permissions:
contents: read

name: Run Release Please
jobs:
release-please:
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
Loading