Skip to content

Commit

Permalink
ci: fix labeler and remove correct label
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Apr 25, 2024
1 parent 5c98525 commit 492ef5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
add-label-to-wpt-bump:
name: Add label to release
runs-on: ubuntu-latest
if: contains(github.head_ref, 'Bump wpt')
if: ${{ contains(github.head_ref, 'dependabot') && contains(github.head_ref, 'wpt') }}
permissions:
pull-requests: write
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
wpt-report:
name: WPT report
needs: wpt
if: ${{ github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'update-expectations') }}
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
environment:
name: github-pages
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
with:
name: mapper-headless-wpt-metadata
path: wpt-metadata/mapper/headless
- run: gh pr edit "$NUMBER" --remove-label "puppeteer"
- run: gh pr edit "$NUMBER" --remove-label "update-expectations"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
Expand Down

0 comments on commit 492ef5a

Please sign in to comment.