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
3 changes: 3 additions & 0 deletions .github/workflows/check-spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Spelling
on:
pull_request:

permissions:
contents: read

jobs:
spelling-check:
name: SPELLING check
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request
cancel-in-progress: true # Cancel any previous runs of this workflow
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-instrumentation-with-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request
cancel-in-progress: true # Cancel any previous runs of this workflow
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-instrumentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request
cancel-in-progress: true # Cancel any previous runs of this workflow
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci-markdown-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ on:
paths:
- '**/*.md'

permissions:
contents: read

jobs:
markdown-link-check:
permissions:
pull-requests: write # required for posting PR review comments
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Markdown Lint Check
on:
pull_request:

permissions:
contents: read

jobs:
markdownlint-check:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/conventional-commits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ on:

permissions:
contents: read
pull-requests: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request
cancel-in-progress: true # Cancel any previous runs of this workflow

jobs:
validate-commits:
permissions:
pull-requests: read # required for accessing PR information
name: Conventional Commits Validation
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/installation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
# Everyday at 2 PM UTC
- cron: "0 14 * * *"

permissions:
contents: read

jobs:
installation-tests:
strategy:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-hook-on-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ on:
pull_request:
types: [closed]

permissions:
contents: read

jobs:
release-process-request:
permissions:
contents: write # required for creating releases
pull-requests: write # required for creating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
ruby_version: "3.1"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-hook-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ on:
branches:
- main

permissions:
contents: read

jobs:
release-update-open-requests:
permissions:
contents: write # required for updating releases
pull-requests: write # required for updating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
ruby_version: "3.1"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ on:
required: false
default: ""

permissions:
contents: read

jobs:
release-perform:
permissions:
contents: write # required for creating releases
pull-requests: write # required for updating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
ruby_version: "3.1"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ on:
- main

permissions:
contents: write
pull-requests: write
contents: read

jobs:
prepare:
permissions:
contents: write # required for creating releases
pull-requests: write # required for creating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
name: Process Release
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-request-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ on:
schedule:
- cron: "0 15 * * 2"

permissions:
contents: read

jobs:
release-request:
permissions:
contents: write # required for creating releases
pull-requests: write # required for creating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
ruby_version: "3.1"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ on:
required: false
default: ""

permissions:
contents: read

jobs:
release-request:
permissions:
contents: write # required for creating releases
pull-requests: write # required for creating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
ruby_version: "3.1"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-retry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ on:
required: false
default: ""

permissions:
contents: read

jobs:
release-retry:
permissions:
contents: write # required for creating releases
pull-requests: write # required for updating pull requests
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
env:
ruby_version: "3.1"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
schedule:
- cron: "30 1 * * *"

permissions:
contents: read

jobs:
stale:

permissions:
issues: write # required for labeling and closing issues
pull-requests: write # required for labeling and closing pull requests
runs-on: ubuntu-latest

steps:
Expand Down