Skip to content

Commit 1db78a6

Browse files
authored
Pin composite actions SHA (#5448)
* Update dependabot to look for actions/* * Update SHA in `actions/*`
1 parent e1fd042 commit 1db78a6

7 files changed

Lines changed: 13 additions & 10 deletions

File tree

.github/actions/node/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
runs:
99
using: composite
1010
steps:
11-
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
11+
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1212
with:
1313
node-version: ${{ inputs.version == 'eol' && '16' || inputs.version == 'oldest' && '18' || inputs.version == 'maintenance' && '20' || inputs.version == 'active' && '22' || inputs.version }}
1414
check-latest: true

.github/actions/plugins/test-and-upstream/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
shell: bash
1616
- run: yarn test:plugins:upstream
1717
shell: bash
18-
- uses: codecov/codecov-action@v5
18+
- uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
1919
- if: always()
2020
uses: ./.github/actions/testagent/logs
2121
with:

.github/actions/plugins/test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
- uses: ./.github/actions/node/active-lts
1212
- run: yarn test:plugins:ci
1313
shell: bash
14-
- uses: codecov/codecov-action@v5
14+
- uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
1515
- if: always()
1616
uses: ./.github/actions/testagent/logs
1717
with:

.github/actions/plugins/upstream/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
- uses: ./.github/actions/node/active-lts
1212
- run: yarn test:plugins:upstream
1313
shell: bash
14-
- uses: codecov/codecov-action@v5
14+
- uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
1515
- if: always()
1616
uses: ./.github/actions/testagent/logs
1717
with:

.github/actions/testagent/logs/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
runs:
1111
using: composite
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
1414
- name: Create Artifacts Directories
1515
run: |
1616
mkdir -p "./artifacts/logs"
@@ -28,7 +28,7 @@ runs:
2828
shell: bash
2929
- name: Archive Test Agent Logs
3030
if: runner.debug == '1' # only create test agent log artifacts if the github action has been re-run with debug mode
31-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3232
with:
3333
name: "test_agent_logs_${{ inputs.suffix }}"
3434
path: "./artifacts/logs"
@@ -48,7 +48,7 @@ runs:
4848
rm "$headers"
4949
shell: bash
5050
- name: Archive Test Agent Tested Versions Artifacts
51-
uses: actions/upload-artifact@v4
51+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5252
with:
5353
name: supported-integrations-${{ inputs.suffix }}
54-
path: ./artifacts
54+
path: ./artifacts

.github/actions/testagent/start/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ description: "Starts the APM Test Agent image with environment."
33
runs:
44
using: composite
55
steps:
6-
- uses: actions/checkout@v4
6+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77
- run: docker compose up -d testagent || docker compose up -d testagent
88
shell: bash

.github/dependabot.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
version: 2
77
updates:
88
- package-ecosystem: "github-actions"
9-
directory: "/"
9+
directories:
10+
- "/"
11+
- "/.github/actions/*"
12+
- "/.github/actions/*/*"
1013
schedule:
1114
interval: "monthly"
1215
groups:

0 commit comments

Comments
 (0)