Skip to content

Commit

Permalink
update token logic
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjoshford committed Jun 7, 2024
1 parent 632d1af commit a842a48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/issue_mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
issues:
types: [opened, reopened]
workflow_call:
inputs:
github-token:
type: string
required: true
description: GitHub token used to authenticate API calls

jobs:
transfer:
Expand All @@ -12,7 +17,6 @@ jobs:
- name: Transfer Issue to NEAR DevX
uses: actions/github-script@v5
with:
github-token: ${{secrets.GH_TOKEN}}
script: |
const issueTitle = context.payload.issue.title;
const issueBody = context.payload.issue.body;
Expand Down

0 comments on commit a842a48

Please sign in to comment.