Skip to content

Commit 6b47d6f

Browse files
test: common template rollout changes (#171)
1 parent a9ae192 commit 6b47d6f

File tree

3 files changed

+13
-70
lines changed

3 files changed

+13
-70
lines changed

.github/CODEOWNERS

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
# By default products-gdi-lead-qa team is the owner of all files in repository
2-
* @splunk/products-gdi-lead-qa
3-
41
# below files are owned by lead developers and lead qa
52
.* @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
63
/tests/ @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
7-
pyproject.toml @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
8-
poetry.lock @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
94
README-test.md @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
105
README.md @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
116
test_credentials.env @splunk/products-gdi-lead-qa @splunk/products-gdi-lead-developers
127

138
# below files are owned by lead qa
14-
/.github/ @splunk/products-gdi-lead-qa
9+
/.github/ @splunk/products-gdi-lead-qa
10+
/LICENSES/ @splunk/products-gdi-lead-qa
11+
pytest.ini @splunk/products-gdi-lead-qa
1512

1613
# below files are owned only by lead developers
1714
/package/ @splunk/products-gdi-lead-developers

.github/workflows/agreements.yaml

+5-50
Original file line numberDiff line numberDiff line change
@@ -6,53 +6,8 @@ on:
66
types: [opened, closed, synchronize]
77

88
jobs:
9-
ContributorLicenseAgreement:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: "CLA Assistant"
13-
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'
14-
# Alpha Release
15-
uses: cla-assistant/[email protected]
16-
env:
17-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18-
# the below token should have repo scope and must be manually added by you in the repository's secret
19-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}
20-
with:
21-
path-to-signatures: "signatures/version1/cla.json"
22-
path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CLA.md" # e.g. a CLA or a DCO document
23-
# branch should not be protected
24-
branch: "main"
25-
allowlist: dependabot[bot]
26-
#below are the optional inputs - If the optional inputs are not given, then default values will be taken
27-
remote-organization-name: splunk
28-
remote-repository-name: cla-agreement
29-
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
30-
#signed-commit-messag e: 'For example: $contributorName has signed the CLA in #$pullRequestNo'
31-
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
32-
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
33-
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
34-
CodeOfConduct:
35-
runs-on: ubuntu-latest
36-
steps:
37-
- name: "COC Assistant"
38-
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Code of Conduct and I hereby accept the Terms') || github.event_name == 'pull_request_target'
39-
# Alpha Release
40-
uses: cla-assistant/[email protected]
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
# the below token should have repo scope and must be manually added by you in the repository's secret
44-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}
45-
with:
46-
path-to-signatures: "signatures/version1/coc.json"
47-
path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CODE_OF_CONDUCT.md" # e.g. a COC or a DCO document
48-
# branch should not be protected
49-
branch: "main"
50-
allowlist: dependabot[bot]
51-
#below are the optional inputs - If the optional inputs are not given, then default values will be taken
52-
remote-organization-name: splunk
53-
remote-repository-name: cla-agreement
54-
custom-pr-sign-comment: "I have read the Code of Conduct and I hereby accept the Terms"
55-
create-file-commit-message: "For example: Creating file for storing COC Signatures"
56-
signed-commit-message: "$contributorName has signed the COC in #$pullRequestNo"
57-
custom-notsigned-prcomment: "All contributors have NOT signed the COC Document"
58-
custom-allsigned-prcomment: "****CLA Assistant Lite bot**** All contributors have signed the COC ✍️ ✅"
9+
call-workflow-agreements:
10+
uses: splunk/addonfactory-github-workflows/.github/workflows/[email protected]
11+
secrets:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}

.github/workflows/release-notes.yaml

+5-14
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@ name: Release-Notes-Preview
22

33
on:
44
pull_request:
5-
# branches: [main, develop]
65
issue_comment:
7-
types: [edited]
6+
types: [ edited ]
87

98
jobs:
10-
preview:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/[email protected]
14-
- run: |
15-
git fetch --prune --unshallow --tags
16-
- uses: snyk/[email protected]
17-
with:
18-
releaseBranch: main
19-
env:
20-
GITHUB_PR_USERNAME: ${{ github.actor }}
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
call-workflow-preview:
10+
uses: splunk/addonfactory-github-workflows/.github/workflows/[email protected]
11+
secrets:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)