Skip to content

Commit a566e51

Browse files
committed
Merge branch 'feature-action-update-2' of https://github.com/zoracon/https-everywhere into zoracon-feature-action-update-2
2 parents bb04dee + 094a1d7 commit a566e51

File tree

168 files changed

+4219
-5135
lines changed

Some content is hidden

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

168 files changed

+4219
-5135
lines changed
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
# Label Pull Requests With Top Alexa Labels
2-
Alexa Labeller for HTTPS Everywhere Repo
1+
# Labels Pull Requests With Top Alexa Site Rankings
2+
![Pull request labeler](https://github.com/EFForg/https-everywhere/workflows/Pull%20request%20labeler/badge.svg)
3+
4+
Based off of `utils/labeller`
5+
See: https://github.com/EFForg/https-everywhere/blob/master/utils/labeller/README.md
6+
7+
# Build
8+
Utilizes https://www.npmjs.com/package/@vercel/ncc to offset node_modules reference burden
9+
```bash
10+
npm i -g @vercel/ncc
11+
ncc build index.js -o dist
12+
```
13+
14+
# Notes About Testing
15+
At the time of writing this, the only way to test is to create a test PR and commit there with console logs from the job ran in Actions tab.
16+
17+
There is a tool that allegedly tests Github Actions locally, but it's not an official tool and very unstable:
18+
https://github.com/nektos/act

.github/actions/https-everywhere-labeller/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'Alexa Labeller'
22
description: 'Label PRs with Top Alexa Labels'
33
inputs:
4-
repo-token:
4+
token:
55
description: 'Token for the repository'
66
required: true
77
runs:

0 commit comments

Comments
 (0)