Skip to content

Commit

Permalink
fix: pr-issue and line-labeler actions
Browse files Browse the repository at this point in the history
fix: pr issue assignment

fix: lines labeler action version

This related to issue of action in CodelyTV/pr-size-labeler#15.
and eox-plugins decisions
https://github.com/eduNEXT/eox-theming/pull/44/files/66037f401e2cebe33baaec013312e79fcf77892
but the issue explain the permission solution.
footer
Co-authored-by: johanv26
  • Loading branch information
johanseto committed Feb 28, 2023
1 parent d7d25b0 commit d691de6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lines_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
labeler:
runs-on: ubuntu-latest
name: Label the PR size
permissions:
issues: write
pull-requests: write
steps:
- uses: CodelyTV/[email protected]
with:
Expand All @@ -21,4 +24,3 @@ jobs:
'This PR exceeds the recommended size of 1000 lines.
Check if you are NOT addressing multiple issues with one PR.
If is not the case continue the review process.'
github_api_url: 'api.github.com'
7 changes: 3 additions & 4 deletions .github/workflows/pr_auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: PR Issue Assignment 📝
on:
issues:
types: [opened]
types: [opened, reopened]
pull_request:
types: [opened]
types: [opened, reopened]

jobs:
auto-assign:
Expand All @@ -12,7 +12,6 @@ jobs:
- name: 'Auto-assign PR-Issue'
uses: pozil/[email protected]
with:
assignees: nelp-ops-crew
teams: nelp-ops-crew
numOfAssignee: 1
allowSelfAssign: false
repo-token: ${{ secrets.NELP_PAT }}

0 comments on commit d691de6

Please sign in to comment.