Skip to content

Commit

Permalink
labeler review rework
Browse files Browse the repository at this point in the history
  • Loading branch information
whatston3 committed Jan 18, 2025
1 parent de67400 commit b98334f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/labeler-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,13 @@ on:
types: [submitted]
jobs:
add_label:
# Change the repository name after you've made sure the team name is correct for your fork!
# Frontier: repo changed (space-wizards/space-station-14 < new-frontiers-14/frontier-station-14)
if: ${{ (github.repository == 'new-frontiers-14/frontier-station-14') && (github.event.review.state == 'APPROVED') }}
if: ${{ (github.repository == 'new-frontiers-14/frontier-station-14') && (github.event.review.state == 'approved') }}
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: tspascoal/get-user-teams-membership@v3
id: checkUserMember
with:
username: ${{ github.actor }}
team: "content-maintainers,junior-maintainers"
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} # Frontier: LABELER_PAT<BOT_TOKEN
- if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}
uses: actions-ecosystem/action-add-labels@v1
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: "S: Approved"

0 comments on commit b98334f

Please sign in to comment.