Skip to content

Commit 094a1d7

Browse files
committed
Set new token workflow
1 parent d6e159a commit 094a1d7

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

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

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

Lines changed: 1 addition & 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('github-token', { required: true });
22899+
const token = core.getInput('token', { required: true });
2290022900
const client = new github.GitHub(token);
2290122901
const pR = context.payload.pull_request;
2290222902

.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('github-token', { required: true });
74+
const token = core.getInput('token', { required: true });
7575
const client = new github.GitHub(token);
7676
const pR = context.payload.pull_request;
7777

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v2
10-
- uses: ./.github/actions/https-everywhere-labeller
10+
- name: Alexa Label Check
11+
uses: ./.github/actions/https-everywhere-labeller
1112
with:
12-
github-token: ${{ secrets.ACTION }}
13+
token: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)