Skip to content

Commit 5a03913

Browse files
authored
Adding Tab Opening Rate Limit (#116)
1 parent 0c2bd65 commit 5a03913

13 files changed

Lines changed: 210 additions & 165 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131

3232
- name: "Build"
3333
run: |
34-
npm install
3534
npm run build
3635
37-
#- name: "Upload to Actions"
38-
# uses: actions/upload-artifact@v4
39-
# with:
40-
# name: artifacts
41-
# path: web-ext-artifacts/
36+
- name: "Upload to Actions"
37+
if: ${{ github.event_name == 'workflow_dispatch' }}
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: artifacts
41+
path: web-ext-artifacts/
4242

4343
- name: "Upload to Release"
4444
if: ${{ github.event_name == 'release' }}

.github/workflows/issue.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
with:
2626
node-version: 22
2727

28+
- name: "Install"
29+
run: |
30+
npm install
31+
2832
- name: "Parse Issue"
2933
id: issue
3034
uses: cssnr/parse-issue-form-action@master
@@ -37,10 +41,6 @@ jobs:
3741
echo Details: '${{ steps.issue.outputs.details }}'
3842
echo Support Information: '${{ steps.issue.outputs.support_information }}'
3943
40-
- name: "Install"
41-
run: |
42-
npm install
43-
4444
- name: "Process Issue"
4545
env:
4646
URL: ${{ steps.issue.outputs.site_link }}

.github/workflows/test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
runs-on: ubuntu-latest
2424
timeout-minutes: 5
2525
if: ${{ !contains(github.event.head_commit.message, '#notest') }}
26+
permissions:
27+
contents: write
28+
pull-requests: write
2629

2730
steps:
2831
- name: "Checkout"
@@ -55,8 +58,8 @@ jobs:
5558
pass: ${{ secrets.RSYNC_PASS }}
5659
port: ${{ secrets.RSYNC_PORT }}
5760
webhost: "https://artifacts.hosted-domains.com"
58-
webhook: ${{ secrets.DISCORD_WEBHOOK }}
59-
token: ${{ secrets.GITHUB_TOKEN }}
61+
#webhook: ${{ secrets.DISCORD_WEBHOOK }}
62+
#token: ${{ secrets.GITHUB_TOKEN }}
6063

6164
- name: "Schedule Failure Notification"
6265
uses: sarisia/actions-status-discord@v1

.prettierignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
# IDE
12
.idea/
23
.vscode/
4+
5+
# Tools
6+
.ruff_cache/
7+
.mypy_cache/
8+
.pytest_cache/
9+
10+
# Build
311
dist/
412
node_modules/
5-
package-lock.json
13+
14+
# Files
615
*.html

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ for new features. For any issues, bugs or concerns; please [Open an Issue](https
8585
8686
### Known Issues
8787

88-
See the [Support](#Support) to let us know about issues...
88+
See the [Support](#Support) section for ways to inform us about issues...
8989

9090
For more information see the [FAQ](https://link-extractor.cssnr.com/faq/).
9191

0 commit comments

Comments
 (0)