Skip to content

Commit fcbc5af

Browse files
authored
feat(actions): improve speed, security and UX (#802)
2 parents 8bc36ef + 6e03ae6 commit fcbc5af

13 files changed

+111
-57
lines changed
Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,37 @@
11
name: API Key Request
22
description: Request an API key
3-
title: "[req]: "
3+
title: "[req]: <product> on <network>"
4+
labels: ["access"]
5+
assignees:
6+
- flare-foundation/developer-hub-team
47
body:
5-
- type: input
8+
- type: dropdown
9+
id: product
610
attributes:
711
label: Product
8-
description: "The product you need an API key for (eg. Flare DA Layer)."
12+
options: ["Flare DA Layer", "Other"]
913
validations:
1014
required: true
1115

12-
- type: input
16+
- type: dropdown
17+
id: network
1318
attributes:
1419
label: Network
15-
description: "The network you need an API key for (eg. Flare Mainnet or Songbird Canary-Network)."
20+
options: ["Flare Mainnet", "Songbird Canary-Network"]
1621
validations:
1722
required: true
1823

1924
- type: textarea
25+
id: purpose
2026
attributes:
21-
label: Purpose
22-
description: "A brief explanation of what you intend to use this API key for."
23-
validations:
24-
required: true
25-
26-
- type: input
27-
attributes:
28-
label: Your Discord or Telegram handle
27+
label: Purpose & scope
28+
description: Use case, expected endpoints, estimated QPS
2929
validations:
3030
required: true
3131

3232
- type: input
33+
id: contact
3334
attributes:
34-
label: Your Email
35+
label: Contact (Email or Discord/Telegram)
3536
validations:
3637
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ blank_issues_enabled: false
22
contact_links:
33
- name: General questions - Discord
44
url: https://discord.com/invite/flarenetwork
5-
about: Please ask your general questions on Discord (#🔶│𝘉𝘜𝘐𝘓𝘋ers-only💪🏻 channel).
5+
about: "Ask in #🔶│𝘉𝘜𝘐𝘓𝘋ers-only💪🏻"
Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,49 @@
1-
name: Development Issue
2-
description: Report an issue encountered when working on code in this repo.
3-
title: "[dev]: "
4-
labels: "bug"
1+
name: Bug Report
2+
description: Report an issue encountered in this repo.
3+
title: "[bug]: <short summary>"
4+
labels: ["bug", "triage"]
5+
assignees:
6+
- flare-foundation/developer-hub-team
57
body:
6-
- type: textarea
8+
- type: dropdown
9+
id: os
710
attributes:
8-
label: Description
9-
description: A clear and concise description of what the issue is.
11+
label: Environment
12+
options: ["Linux", "macOS", "Windows", "Docker", "Other"]
1013
validations:
1114
required: true
1215

1316
- type: textarea
17+
id: description
1418
attributes:
15-
label: Environment
16-
description: Basic info about your environment, such as operating system and version of tools (eg. Python, Rust, Solidity etc.).
19+
label: Description
20+
description: What happened? Why is it a problem?
1721
validations:
1822
required: true
1923

2024
- type: textarea
25+
id: repro
2126
attributes:
22-
label: Additional Information
23-
description: Any additional information that could be useful, like screenshots etc.
24-
validations:
25-
required: false
27+
label: Steps to Reproduce
28+
description: Minimal, reliable steps
29+
value: |
30+
1.
31+
2.
32+
3.
33+
render: markdown
34+
35+
- type: textarea
36+
id: expected
37+
attributes:
38+
label: Expected vs Actual
39+
value: |
40+
**Expected:**
41+
**Actual:**
42+
render: markdown
43+
44+
- type: textarea
45+
id: logs
46+
attributes:
47+
label: Logs / Stack traces
48+
description: Remove secrets; scrub tokens before posting.
49+
render: shell

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
11
name: Feature Request
2-
description: Request a feature you would like to see.
3-
title: "[feat]: "
4-
labels: "enhancement"
2+
description: Propose a new capability or improvement
3+
title: "[feat]: <short summary>"
4+
labels: ["enhancement", "triage"]
5+
assignees:
6+
- flare-foundation/developer-hub-team
57
body:
68
- type: textarea
9+
id: problem
710
attributes:
8-
label: Description
9-
description: A clear and concise description of what feature you are requesting.
11+
label: Problem / Use case
12+
description: What problem are you trying to solve?
1013
validations:
1114
required: true
1215

1316
- type: textarea
17+
id: proposal
1418
attributes:
15-
label: Motivation
16-
description: A clear and concise explanation of why you are requesting this feature.
19+
label: Proposed solution
20+
description: Describe the change (API/UX/config/etc.)
1721
validations:
1822
required: true
1923

2024
- type: textarea
25+
id: additional
2126
attributes:
2227
label: Additional Information
2328
description: Any additional information that could be useful, like screenshots etc.
Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,47 @@
11
name: New Feed Request
2-
description: Request a new feed to be added to FTSOv2
3-
title: "[req]: "
4-
labels: "enhancement"
2+
description: Request a new feed to be added to FTSO
3+
title: "[req]: <BASE/QUOTE>"
4+
labels: ["enhancement", "ftso"]
55
body:
66
- type: input
7+
id: pair
78
attributes:
89
label: Feed Name
9-
description: "The base and quote feed, eg. FLR/USD"
10+
placeholder: "FLR/USD"
1011
validations:
1112
required: true
1213

1314
- type: textarea
1415
attributes:
1516
label: Justification
16-
description: "A clear and concise explanation of why you are requesting this feed."
17+
description: Clear and concise explanation of why you are requesting this feed
1718
validations:
1819
required: true
1920

2021
- type: textarea
22+
id: venues
2123
attributes:
22-
label: Trading Venues
23-
description: "List out all CeXs, DeXs and aggregators on which this feed is traded."
24+
label: Trading Venues (CeX/DeX/Aggregators)
25+
description: Include tickers/symbols per venue
26+
value: |
27+
- Coinbase: FLR/USD
28+
- Bybit: FLR/USDT
29+
- SparkDEX: FLR/USDT0
30+
render: markdown
2431
validations:
2532
required: true
2633

27-
- type: input
34+
- type: dropdown
35+
id: liquidity
2836
attributes:
29-
label: Your Discord or Telegram handle
37+
label: Liquidity & Volume (avg daily)
38+
options: ["<$1M", "$1-10M", "$10-100M", ">$100M"]
3039
validations:
3140
required: true
3241

3342
- type: input
43+
id: contact
3444
attributes:
35-
label: Your Email
45+
label: Contact (Email or Discord/Telegram)
3646
validations:
3747
required: true

.github/config/typos.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@ extend-exclude = [
2424
"package-lock.json",
2525
"*.mod",
2626
"*.sum",
27-
"*.lock"
27+
"*.lock",
28+
"build/**",
29+
"**/node_modules/**"
2830
]

.github/workflows/check-external-links.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
branches:
66
- main
7+
paths:
8+
- "docs/**"
9+
- ".github/workflows/check-external-links.yml"
710

811
jobs:
912
check-external-links:

.github/workflows/spell-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
1414
with:
15-
fetch-depth: 0 # Full git history to ensure we get all files
15+
fetch-depth: 0
1616

1717
- name: Get changed files
1818
id: changed-files
1919
uses: tj-actions/changed-files@v46
2020
with:
21-
include_all_old_new_renamed_files: true # Include renamed files
21+
include_all_old_new_renamed_files: true
2222
files: |
2323
**/*.md
2424
**/*.mdx

.github/workflows/test-go-examples.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
branches:
66
- main
7+
paths:
8+
- "examples/developer-hub-go/**"
9+
- ".github/workflows/test-go-examples.yml"
710

811
permissions:
912
contents: read
@@ -21,8 +24,8 @@ jobs:
2124
with:
2225
go-version: stable
2326
cache-dependency-path: "examples/developer-hub-go/go.sum"
24-
- name: Install dependencies
25-
run: go get .
27+
- run: go mod download
28+
- run: go vet ./...
2629
- name: Run Tests
2730
run: |
2831
go test ./coston2 -v

.github/workflows/test-javascript-examples.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
branches:
66
- main
7+
paths:
8+
- "examples/developer-hub-javascript/**"
9+
- ".github/workflows/test-javascript-examples.yml"
710

811
permissions:
912
contents: read

0 commit comments

Comments
 (0)