Skip to content

Commit

Permalink
PR Label Automation Permissions Update & Fail Silently (#27990)
Browse files Browse the repository at this point in the history
* permissions change and fail silently

* rename job

* move failure skip line
  • Loading branch information
rcskosir authored Nov 12, 2024
1 parent e134819 commit c5fad8b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull-request-type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
name: Pull Request Type

permissions:
issues: write
pull-requests: write

on:
pull_request_target:
types: [opened, edited]

jobs:
issue_triage:
pr_triage_label_type:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
continue-on-error: true
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler-pull-request-triage-type.yml
Expand Down

0 comments on commit c5fad8b

Please sign in to comment.