Skip to content

Commit e354f04

Browse files
Pin dependencies (#773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent bcd8f9b commit e354f04

File tree

7 files changed

+24
-24
lines changed

7 files changed

+24
-24
lines changed

.github/workflows/BuildAndTest.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ jobs:
99
FormattingLint:
1010
runs-on: macos-15
1111
steps:
12-
- uses: actions/checkout@v1
12+
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
1313
- name: SwiftFormat
1414
run: echo swiftformat --lint `git diff --name-only HEAD^1 HEAD` --reporter github-actions-log
1515

1616
SwiftLint:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
2020
- name: GitHub Action for SwiftLint (Only files changed in the PR)
21-
uses: norio-nomura/[email protected]
21+
uses: norio-nomura/action-swiftlint@9f4dcd7fd46b4e75d7935cf2f4df406d5cae3684 # 3.2.1
2222
env:
2323
args: --strict
2424
DIFF_BASE: ${{ github.base_ref }}
2525
macOS:
2626
runs-on: macos-15
2727
steps:
28-
- uses: actions/checkout@v2
28+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2929
- name: Build and Test for macOS
3030
run: swift test --enable-code-coverage
3131
- name: Upload Code coverage
@@ -37,7 +37,7 @@ jobs:
3737
iOS:
3838
runs-on: macos-15
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
4141
- name: Install Homebrew kegs
4242
run: make setup-brew
4343
- name: Build for iOS
@@ -47,7 +47,7 @@ jobs:
4747
tvOS:
4848
runs-on: macos-15
4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
5151
- name: Install Homebrew kegs
5252
run: make setup-brew
5353
- name: Build for tvOS
@@ -57,7 +57,7 @@ jobs:
5757
watchOS:
5858
runs-on: macos-15
5959
steps:
60-
- uses: actions/checkout@v2
60+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
6161
- name: Install Homebrew kegs
6262
run: make setup-brew
6363
- name: Build for watchOS
@@ -66,9 +66,9 @@ jobs:
6666
run: make test-without-building-watchos
6767
linux:
6868
runs-on: ubuntu-latest
69-
container: swift:5.10
69+
container: swift:5.10@sha256:6f788584d9b1ed6a4dc83ca224e3caf58c23530fa08dcf12a4a0e25893b20538
7070
steps:
71-
- uses: actions/checkout@v2
71+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
7272
- name: Build tests for Linux
7373
run: swift build --build-tests
7474
- name: Run tests for Linux

.github/workflows/CodeQL-Analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2121

2222
- name: Initialize CodeQL
23-
uses: github/codeql-action/init@v2
23+
uses: github/codeql-action/init@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2
2424
with:
2525
languages: swift
2626
queries: security-and-quality
@@ -30,6 +30,6 @@ jobs:
3030
run: swift build
3131

3232
- name: Perform CodeQL Analysis
33-
uses: github/codeql-action/analyze@v2
33+
uses: github/codeql-action/analyze@b8d3b6e8af63cde30bdc382c0bc28114f4346c88 # v2
3434
with:
3535
category: "/language:swift"

.github/workflows/Create-Release-PR.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: write
1313
pull-requests: write
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1616
with:
1717
ref: ${{ github.head_ref }}
1818
- name: update version file
@@ -43,7 +43,7 @@ jobs:
4343
sed -i -e 's/spec.version = ".*"/spec.version = "${{ inputs.new_version }}"/' OpenTelemetry-Swift-PersistenceExporter.podspec
4444
4545
- name: Create Pull Request
46-
uses: peter-evans/create-pull-request@v7
46+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
4747
with:
4848
token: ${{ secrets.RELEASE_TOKEN }}
4949
branch: release/${{inputs.new_version}}

.github/workflows/PR-Release-Warning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fi
2020
- name: add comment if PR is release
2121
if: steps.check-release.outputs.match == 'true'
22-
uses: mshick/add-pr-comment@v2
22+
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
2323
with:
2424
message: |
2525
**WARNING** : This PR will trigger a release and tag when merged.

.github/workflows/Tag-And-Release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
- name: Tag if release branch
2020
if: github.event.pull_request.merged != true || steps.check-release.outputs.match != 'true'
2121
run: exit 1
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2323
with:
2424
ref: ${{ github.event.pull_request.merge_commit_sha }}
2525
fetch-depth: '0'
26-
- uses: stefanzweifel/git-auto-commit-action@v5
26+
- uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5
2727
with:
2828
commit_message: version bump to ${{ steps.check-release.outputs.version }}
2929
tagging_message: '${{ steps.check-release.outputs.version }}'
30-
- uses: ncipollo/release-action@v1
30+
- uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1
3131
with:
3232
tag: ${{ steps.check-release.outputs.version }}
3333
prerelease: true

Examples/OTLP Exporter/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22
services:
33
# Collector
44
collector:
5-
image: otel/opentelemetry-collector:0.62.1
5+
image: otel/opentelemetry-collector:0.62.1@sha256:3252dd65794ce36f203c28819ae7df361d58bd47837beef5fdd5fb5282cd1576
66
# The latest image of the otel-collector may not work, so specifying the version that works with this release
77
# image: otel/opentelemetry-collector:latest
88
command: ["--config=/conf/collector-config.yaml"]
@@ -17,14 +17,14 @@ services:
1717

1818
# Zipkin
1919
zipkin-all-in-one:
20-
image: openzipkin/zipkin:latest
20+
image: openzipkin/zipkin:latest@sha256:bb570eb45c2994eaf32da783cc098b3d51d1095b73ec92919863d73d0a9eaafb
2121
ports:
2222
- "9411:9411"
2323

2424
# Prometheus
2525
prometheus:
2626
container_name: prometheus
27-
image: prom/prometheus:latest
27+
image: prom/prometheus:latest@sha256:e2b8aa62b64855956e3ec1e18b4f9387fb6203174a4471936f4662f437f04405
2828
volumes:
2929
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
3030
ports:

Examples/OTLP HTTP Exporter/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22
services:
33
# Collector
44
collector:
5-
image: otel/opentelemetry-collector:latest
5+
image: otel/opentelemetry-collector:latest@sha256:e02c9c8d05f282f696ae1c7122a9f06d938ce6aee78082adc35ac74bd998e3d0
66
# The latest image of the otel-collector may not work, so specifying the version that works with this release
77
# image: otel/opentelemetry-collector:latest
88
command: ["--config=/conf/collector-config.yaml"]
@@ -18,14 +18,14 @@ services:
1818

1919
# Zipkin
2020
zipkin-all-in-one:
21-
image: openzipkin/zipkin:latest
21+
image: openzipkin/zipkin:latest@sha256:bb570eb45c2994eaf32da783cc098b3d51d1095b73ec92919863d73d0a9eaafb
2222
ports:
2323
- "9411:9411"
2424

2525
# Prometheus
2626
prometheus:
2727
container_name: prometheus
28-
image: prom/prometheus:latest
28+
image: prom/prometheus:latest@sha256:e2b8aa62b64855956e3ec1e18b4f9387fb6203174a4471936f4662f437f04405
2929
volumes:
3030
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
3131
ports:

0 commit comments

Comments
 (0)