Skip to content

Commit eba5548

Browse files
Update
1 parent 7d73469 commit eba5548

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

.github/workflows/cla.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "CLA"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
jobs:
9+
CLAAssistant:
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+
# Beta Release
15+
uses: contributor-assistant/github-action@v2.3.0
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.BOT }}
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.BOT }}
20+
with:
21+
path-to-signatures: 'signatures-v2.json'
22+
path-to-document: 'https://github.com/is-cool-me/register/blob/main/terms.md' # e.g. a CLA or a DCO document
23+
# branch should not be protected
24+
branch: 'main'
25+
allowlist: icme-bot,bot*
26+
remote-organization-name: 'is-cool-me'
27+
remote-repository-name: 'cla'

.github/workflows/validation.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Validation
2+
3+
on:
4+
pull_request:
5+
6+
push:
7+
branches: [main]
8+
paths:
9+
- "domains/**"
10+
- ".github/workflows/validation.yml"
11+
- "dnsconfig.js"
12+
13+
workflow_dispatch:
14+
15+
concurrency:
16+
group: ${{ github.ref }}-validation
17+
cancel-in-progress: true
18+
19+
jobs:
20+
dns:
21+
name: DNS
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Check
27+
uses: is-cool-me/dnscontrol-action@v4.8.2
28+
with:
29+
args: check
30+
config_file: "dnsconfig.js"
31+
32+
json:
33+
name: JSON
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v4
37+
38+
- name: JSON Syntax Check
39+
uses: is-cool-me/json-syntax-check@v1
40+
with:
41+
pattern: "\\.json$"
42+
env:
43+
BASE: "domains/"

0 commit comments

Comments
 (0)