Skip to content

Commit

Permalink
1.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed May 11, 2021
1 parent 0a3139d commit 898ad29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Asana Github Pull Request Link
uses: ExodusMovement/[email protected].20
uses: ExodusMovement/[email protected].21
with:
token: ${{ secrets.ASANA_TOKEN }}
workspace: ${{ secrets.ASANA_WORKSPACE_ID }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Asana Github Pull Request Link
uses: ExodusMovement/[email protected].20
uses: ExodusMovement/[email protected].21
with:
token: ${{ secrets.ASANA_TOKEN }}
workspace: ${{ secrets.ASANA_WORKSPACE_ID }}
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const run = async () => {
body: newBody
}

const client = new github.GitHub(github.token)
const response = await client.pulls.update(request)
const octokit = github.getOctokit(github.token)
const response = await octokit.pulls.update(request)
if (response.status !== 200) {
core.error('There was an issue while trying to update the pull-request.')
}
Expand Down

0 comments on commit 898ad29

Please sign in to comment.