Skip to content
Open
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
8 changes: 4 additions & 4 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ runs:
using: "composite"
steps:
- name: Set up Helm
uses: azure/setup-helm@v5.0.0
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
with:
version: ${{ inputs.helm-version }}

- uses: actions/setup-python@v6.2.0
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.14

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.8.0
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0

- name: Create kind cluster
uses: helm/kind-action@v1.14.0
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
if: ${{ inputs.create-kind-cluster == 'true' }}
with:
config: ./.github/kind-1.33.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ updates:
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
1 change: 1 addition & 0 deletions .github/workflows/collector-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/demo-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ebpf-instrumentation-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ebpf-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- uses: fossas/fossa-action@29693cc50323968e039056be419b32989fc5880c # v2.0.0
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/kube-stack-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/operator-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down Expand Up @@ -109,6 +110,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0

- name: Configure Git
Expand Down Expand Up @@ -84,9 +85,12 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Helm OCI Registry
env:
HELM_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
HELM_USERNAME: ${{ github.actor }}
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io \
--username ${{ github.actor }} \
echo "$HELM_PASSWORD" | helm registry login ghcr.io \
--username "$HELM_USERNAME" \
--password-stdin

- name: Push charts to GHCR
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/sync-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
steps:
- name: Checkout main
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Copy README to temp
run: cp -f README.md ${{ runner.temp }}/README.md

- name: Checkout gh-pages
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # zizmor: ignore[artipacked] v7.0.1; persisted token pushes README to gh-pages
with:
ref: gh-pages

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ta-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-chart-app-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Update Chart App Version

on:
workflow_call:
secrets:
OTELBOT_PRIVATE_KEY:
required: true
Comment on lines +5 to +7

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trask do you know what this is being added?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reusable workflow already uses OTELBOT_PRIVATE_KEY to create an OTelBot token. Previously, callers used secrets: inherit, which exposed every available repository secret. This PR narrows that to only OTELBOT_PRIVATE_KEY.

inputs:
chart_name:
required: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/update-obi-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
contents: write
pull-requests: write
uses: ./.github/workflows/update-chart-app-version.yaml
secrets: inherit
secrets:
OTELBOT_PRIVATE_KEY: ${{ secrets.OTELBOT_PRIVATE_KEY }}
with:
Comment thread
trask marked this conversation as resolved.
chart_name: opentelemetry-ebpf-instrumentation
chart_root: charts/opentelemetry-ebpf-instrumentation
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/update-target-allocator-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
contents: write
pull-requests: write
uses: ./.github/workflows/update-chart-app-version.yaml
secrets: inherit
secrets:
OTELBOT_PRIVATE_KEY: ${{ secrets.OTELBOT_PRIVATE_KEY }}
with:
Comment thread
trask marked this conversation as resolved.
chart_name: opentelemetry-target-allocator
chart_root: charts/opentelemetry-target-allocator
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Zizmor

on:
push:
branches: [main]
pull_request:
schedule:
- cron: '10 4 * * 3' # weekly at 04:10 UTC on Wednesday
workflow_dispatch:

permissions: {}

jobs:
zizmor:
permissions:
contents: read # for actions/checkout
security-events: write # for zizmor to upload SARIF results
uses: open-telemetry/shared-workflows/.github/workflows/zizmor.yml@62d5939b47144252763c5ff9fffe8c20d76cd806 # v0.4.0
Loading