Skip to content

Commit

Permalink
[github] auto milestone, typo
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 10, 2020
1 parent 87ae927 commit 4064ff6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-auto-milestone.yml
Expand Up @@ -38,7 +38,7 @@ jobs:
owner: ${{ github.event.pull_request.base.repo.owner.login }}
repo: ${{ github.event.pull_request.base.repo.name }}
env:
GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# calculate the milestone and determine if it exists
- name: Get the latest release
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
owner: ${{ github.event.pull_request.base.repo.owner.login }}
repo: ${{ github.event.pull_request.base.repo.name }}
env:
GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- id: compute_milestone
# discard error on previous job (most likely user has no right to create milestone)
Expand All @@ -93,7 +93,7 @@ jobs:
if: cancelled()
uses: octokit/request-action@v2.x
env:
GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
route: PATCH /repos/:owner/:repo/issues/:pull_number
pull_number: ${{ github.event.pull_request.number }}
Expand All @@ -106,7 +106,7 @@ jobs:
if: failure()
uses: octokit/request-action@v2.x
env:
GITHUB_TOKEN: ${{ secret.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
route: POST /repos/:owner/:repo/issues/:pull_number/comments
pull_number: ${{ github.event.pull_request.number }}
Expand Down

0 comments on commit 4064ff6

Please sign in to comment.