Skip to content

Commit

Permalink
[CI] Fix github PR labeler to happen in the same job
Browse files Browse the repository at this point in the history
  • Loading branch information
ggriffiths committed Mar 29, 2021
1 parent c2c3876 commit 4fd31c8
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
name: Labeler
on: [pull_request_target]
jobs:
size-label:
labels:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -25,9 +28,3 @@ jobs:
Please make sure you are NOT addressing multiple issues with one PR.
Note this PR might be rejected due to its size.’
github_api_url: 'api.github.com'
area-label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 4fd31c8

Please sign in to comment.