Skip to content

Commit d2428c3

Browse files
authored
Merge branch 'dev' into add-covalent-docs
2 parents 5fe9e15 + 99332ec commit d2428c3

File tree

1,727 files changed

+69366
-36318
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,727 files changed

+69366
-36318
lines changed

.all-contributorsrc

Lines changed: 651 additions & 7 deletions
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/suggest_glossary_term.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ body:
3131
- type: textarea
3232
id: glossary_term_sources
3333
attributes:
34-
label: Sources, if any (please do not submit copywrited content without appropriate approval)
34+
label: Sources, if any (please do not submit copyrighted content without appropriate approval)
3535
description: Please list any sources utilized
3636
validations:
3737
required: false

.github/ISSUE_TEMPLATE/suggest_layer2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ body:
100100
id: layer_2_dapp_ecosystem
101101
attributes:
102102
label: Link to dapp ecosystem (if applicable)
103-
description: "Please provide a link to the dapp ecosystem. (ex: https://portal.arbitrum.one/, https://www.optimism.io/apps/all)"
103+
description: "Please provide a link to the dapp ecosystem. (ex: https://portal.arbitrum.io/, https://www.optimism.io/apps)"
104104
- type: input
105105
id: layer_2_token_contract_list
106106
attributes:

.github/labeler.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
"review needed :eyes:":
1+
"needs review 👀":
22
- src/**/*
33
- public/*
44

5-
"documentation :book:":
5+
"documentation 📖":
66
- README.md
77

8-
"tooling :wrench:":
8+
"tooling 🔧":
99
- .github/**/*
1010
- src/scripts/*
1111
- src/lib/*
1212
- src/hooks/*
1313

14-
"dependencies :package:":
14+
"dependencies 📦":
1515
- package.json
1616
- yarn.lock
1717

18-
"internal :house:":
18+
"internal 🏠":
1919
- .all-contributorsrc
2020
- i18n.config.json
2121
- next.config.js
@@ -29,14 +29,14 @@
2929
- .prettierrc
3030
- netlify.toml
3131

32-
"translation :earth_africa:":
32+
"translation 🌍":
3333
- src/content/translations/**/*
3434
- src/intl/**/*
3535
- src/lib/utils/translations.ts
3636

37-
"content :fountain_pen:":
37+
"content 🖋️":
3838
- src/pages/*
3939
- public/content/**/*
4040

41-
"event :date:":
41+
"event 📅":
4242
- src/data/community-events.json

.github/workflows/chromatic.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- "src/pages/**/*"
1717
- "src/layouts/**/*"
1818
- "src/@chakra-ui/**/*"
19+
- ".storybook/**/*"
1920

2021
# List of jobs
2122
jobs:

.github/workflows/get-crowdin-contributors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ jobs:
5959
6060
- name: Create Pull Request
6161
run: |
62-
gh auth login --with-token <<< ${{ secrets.GITHUB_TOKEN }}
62+
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
6363
gh pr create --base dev --head "automated-update-${{ env.TIMESTAMP }}" --title "Update translation contributors from Crowdin - ${{ env.READABLE_DATE }}" --body-file pr_body.txt

.github/workflows/get-translation-progress.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ jobs:
6060
6161
- name: Create Pull Request
6262
run: |
63-
gh auth login --with-token <<< ${{ secrets.GITHUB_TOKEN }}
63+
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
6464
gh pr create --base dev --head "automated-update-${{ env.TIMESTAMP }}" --title "Update translation progress from Crowdin - ${{ env.READABLE_DATE }}" --body-file pr_body.txt
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Import community events
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * SUN" # Runs every Sunday at midnight
6+
workflow_dispatch:
7+
8+
jobs:
9+
create_pr:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out code
13+
uses: actions/checkout@master
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install dependencies
21+
run: yarn install
22+
23+
- name: Set up git
24+
run: |
25+
git config --global user.email "[email protected]"
26+
git config --global user.name "GitHub Action"
27+
28+
- name: Generate timestamp and readable date
29+
id: date
30+
run: |
31+
echo "TIMESTAMP=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV
32+
echo "READABLE_DATE=$(date +'%B %-d')" >> $GITHUB_ENV
33+
34+
- name: Fetch latest dev and create new branch
35+
run: |
36+
git fetch origin dev
37+
git checkout -b "automated-update-${{ env.TIMESTAMP }}" origin/dev
38+
39+
- name: Run script
40+
run: yarn events-import
41+
env:
42+
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
43+
44+
- name: Commit and push
45+
run: |
46+
git add -A
47+
git commit -m "Update community events"
48+
git push origin "automated-update-${{ env.TIMESTAMP }}"
49+
50+
- name: Create PR body
51+
run: |
52+
echo "This PR was automatically created to update community events from external community spreadsheet." > pr_body.txt
53+
echo "This workflows runs every Sunday at 00:00 (UTC)." >> pr_body.txt
54+
echo "Source: https://docs.google.com/spreadsheets/d/1NEu_FCc1hnGAuRgPmbXXpf0h2lCrCOlMKbbFEqgkVDQ" >> pr_body.txt
55+
56+
- name: Create Pull Request
57+
run: |
58+
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
59+
gh pr create --base dev --head "automated-update-${{ env.TIMESTAMP }}" --title "Update community events from external spreadsheet - ${{ env.READABLE_DATE }}" --body-file pr_body.txt

.github/workflows/issue-triage-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
issue_number: context.issue.number,
1818
owner: context.repo.owner,
1919
repo: context.repo.repo,
20-
labels: ["needs-triage"]
20+
labels: ["needs triage 📥"]
2121
})

0 commit comments

Comments
 (0)