Skip to content

Commit 30d4497

Browse files
authored
Feature action update (EFForg#19520)
* Test different token * Build index.js
1 parent 7ffb5d9 commit 30d4497

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

.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+
github-token:
55
description: 'Token for the repository'
66
required: true
77
runs:

.github/actions/https-everywhere-labeller/dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22896,7 +22896,7 @@ function return_label(rank_num) {
2289622896

2289722897
// Label PR if Needed
2289822898
async function run(alexa) {
22899-
const token = core.getInput('repo-token', { required: true });
22899+
const token = core.getInput('github-token', { required: true });
2290022900
const client = new github.GitHub(token);
2290122901
const pR = context.payload.pull_request;
2290222902

@@ -22948,6 +22948,7 @@ async function run(alexa) {
2294822948
}
2294922949
}
2295022950

22951+
2295122952
/***/ }),
2295222953
/* 288 */
2295322954
/***/ (function(module, __unusedexports, __webpack_require__) {

.github/actions/https-everywhere-labeller/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function return_label(rank_num) {
7171

7272
// Label PR if Needed
7373
async function run(alexa) {
74-
const token = core.getInput('repo-token', { required: true });
74+
const token = core.getInput('github-token', { required: true });
7575
const client = new github.GitHub(token);
7676
const pR = context.payload.pull_request;
7777

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ jobs:
99
uses: actions/checkout@v2
1010
- uses: ./.github/actions/https-everywhere-labeller
1111
with:
12-
repo-token: ${{ secrets.ACTION }}
12+
github-token: ${{ secrets.ACTION }}

0 commit comments

Comments
 (0)