Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 7d61da8

Browse files
authored
feat(security): Pin github actions (#569)
* feat(security): Pin github actions * fix ci
1 parent d4a12d8 commit 7d61da8

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.github/dependabot.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: monthly

.github/workflows/no-auto-bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
pull-requests: write
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/labeler@v5
17+
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
1818
with:
1919
sync-labels: true

.github/workflows/open-datadog-agent-pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414

1515
steps:
1616
- name: Create Token
17-
uses: actions/create-github-app-token@v1
17+
uses: actions/create-github-app-token@67e27a7eb7db372a1c61a7f9bdab8699e9ee57f7 # v1.11.3
1818
id: app-token
1919
with:
2020
app-id: ${{ vars.DATADOG_APP_ID }}
2121
private-key: ${{ secrets.DATADOG_APP_PRIVATE_KEY }}
2222
repositories: datadog-agent
2323

2424
- name: Clone datadog-agent repo
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
with:
2727
repository: datadog/datadog-agent
2828
persist-credentials: false
@@ -31,7 +31,7 @@ jobs:
3131
fetch-depth: 0
3232

3333
- name: Clone omnibus-software repo
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3535
with:
3636
repository: datadog/omnibus-software
3737
persist-credentials: false
@@ -41,7 +41,7 @@ jobs:
4141
fetch-depth: 0
4242

4343
- name: Setup Python3
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
4545
with:
4646
python-version: "3.11.8"
4747
cache: "pip"
@@ -69,7 +69,7 @@ jobs:
6969
inv -e release.set-release-json 'nightly-a7::OMNIBUS_SOFTWARE_VERSION' ${{ steps.new_sha.outputs.NEW_SHA }}
7070
7171
- name: create datadog-agent PR
72-
uses: peter-evans/create-pull-request@v5
72+
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
7373
with:
7474
token: ${{ steps.app-token.outputs.token }}
7575
base: main

config/software/openssl3.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
if windows?
8383
configure_args << "zlib-dynamic"
84-
if ENV['AGENT_FLAVOR'] == "fips"
84+
if ENV["AGENT_FLAVOR"] == "fips"
8585
configure_args << '--openssldir="C:/Program Files/Datadog/Datadog Agent/embedded3/ssl"'
8686
# Provide a context name for our configuration through the registry
8787
configure_args << "-DOSSL_WINCTX=datadog-fips-agent"

0 commit comments

Comments
 (0)