-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
275021c
commit 277d111
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,15 @@ permissions: | |
contents: read | ||
|
||
env: | ||
GIT_AUTHOR_EMAIL: "[email protected]" | ||
GIT_AUTHOR_NAME: "ci.datadog-api-spec" | ||
GIT_AUTHOR_EMAIL: '[email protected]' | ||
GIT_AUTHOR_NAME: 'ci.datadog-api-spec' | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: "0 3 * * *" | ||
- cron: '0 3 * * *' | ||
|
||
concurrency: | ||
group: unit-${{ github.head_ref }} | ||
|
@@ -77,13 +77,15 @@ jobs: | |
test: | ||
strategy: | ||
matrix: | ||
ruby-version: ["2.7", "3.2", "jruby"] | ||
ruby-version: ['2.7', '3.2', 'jruby'] | ||
platform: [ubuntu-latest] | ||
runs-on: ${{ matrix.platform }} | ||
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' | ||
env: | ||
BUNDLE_WITHOUT: docs | ||
DD_PROFILING_NO_EXTENSION: true | ||
DD_CIVISIBILITY_AGENTLESS_ENABLED: true | ||
DD_API_KEY: ${{ secrets.DD_API_KEY }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
|
@@ -107,7 +109,7 @@ jobs: | |
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "2.7" | ||
ruby-version: '2.7' | ||
bundler-cache: true | ||
# modify repository variable when there are problems with installing gems | ||
cache-version: ${{ vars.CACHE_VERSION }} | ||
|
@@ -129,7 +131,7 @@ jobs: | |
with: | ||
app-id: ${{ secrets.PIPELINE_GITHUB_APP_ID }} | ||
private-key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }} | ||
repositories: datadog-api-spec | ||
repositories: datadog-api-spec | ||
- name: Post status 3heck | ||
uses: DataDog/github-actions/post-status-check@v2 | ||
with: | ||
|