Skip to content

Commit 277d111

Browse files
committed
add env variables for datadog-ci
1 parent 275021c commit 277d111

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ permissions:
44
contents: read
55

66
env:
7-
GIT_AUTHOR_EMAIL: "[email protected]"
8-
GIT_AUTHOR_NAME: "ci.datadog-api-spec"
7+
GIT_AUTHOR_EMAIL: '[email protected]'
8+
GIT_AUTHOR_NAME: 'ci.datadog-api-spec'
99

1010
on:
1111
pull_request:
1212
branches:
1313
- master
1414
schedule:
15-
- cron: "0 3 * * *"
15+
- cron: '0 3 * * *'
1616

1717
concurrency:
1818
group: unit-${{ github.head_ref }}
@@ -77,13 +77,15 @@ jobs:
7777
test:
7878
strategy:
7979
matrix:
80-
ruby-version: ["2.7", "3.2", "jruby"]
80+
ruby-version: ['2.7', '3.2', 'jruby']
8181
platform: [ubuntu-latest]
8282
runs-on: ${{ matrix.platform }}
8383
if: (github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) || github.event_name == 'schedule'
8484
env:
8585
BUNDLE_WITHOUT: docs
8686
DD_PROFILING_NO_EXTENSION: true
87+
DD_CIVISIBILITY_AGENTLESS_ENABLED: true
88+
DD_API_KEY: ${{ secrets.DD_API_KEY }}
8789
steps:
8890
- uses: actions/checkout@v3
8991
- name: Set up Ruby ${{ matrix.ruby-version }}
@@ -107,7 +109,7 @@ jobs:
107109
- name: Set up Ruby
108110
uses: ruby/setup-ruby@v1
109111
with:
110-
ruby-version: "2.7"
112+
ruby-version: '2.7'
111113
bundler-cache: true
112114
# modify repository variable when there are problems with installing gems
113115
cache-version: ${{ vars.CACHE_VERSION }}
@@ -129,7 +131,7 @@ jobs:
129131
with:
130132
app-id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
131133
private-key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
132-
repositories: datadog-api-spec
134+
repositories: datadog-api-spec
133135
- name: Post status 3heck
134136
uses: DataDog/github-actions/post-status-check@v2
135137
with:

0 commit comments

Comments
 (0)