Skip to content

Commit

Permalink
Miscellaneous CI improvements (#593)
Browse files Browse the repository at this point in the history
* Add dependabot and cla github config

* move v2 ci to be specific to main branch

* Update changelog entry for v2 notes to be a link
  • Loading branch information
johnbley authored Jan 31, 2025
1 parent b59bdaf commit 1152c43
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: "daily"
labels:
- "Skip Changelog"
- "dependencies"
- package-ecosystem: "pip"
directory: /
schedule:
interval: "daily"
labels:
- "Skip Changelog"
- "dependencies"
4 changes: 2 additions & 2 deletions .github/workflows/test.yml → .github/workflows/ci-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: test

on:
push:
branches: [main, v2]
branches: [main]
pull_request:
branches: [main, v2]
branches: [main]

concurrency:
group: test-${{ github.head_ref }}
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "CLA Assistant"
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

permissions:
actions: write
contents: read
pull-requests: write
statuses: write

jobs:
ContributorLicenseAgreement:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}
with:
remote-organization-name: splunk
remote-repository-name: cla-agreement
branch: main
path-to-signatures: signatures/version1/cla.json
path-to-document: https://github.com/splunk/cla-agreement/blob/main/CLA.md
allowlist: dependabot[bot]
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Unreleased

## 2.0.0 - 2025-01-28
- See VERSION_2_RELEASE_NOTES.md
- See [VERSION_2_RELEASE_NOTES.md](VERSION_2_RELEASE_NOTES.md)

## 1.20.0 - 2024-08-08
- Upgrade Otel dependencies to 1.26.0 / 0.47b0
Expand Down

0 comments on commit 1152c43

Please sign in to comment.