mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* Try and touch up workflows, god help me if this breaks something * Remove unused email * Remove Breaking changes, we don't do those here * Better PR template * Change header in new pr template * Use different token * No approval workflow
25 lines
946 B
YAML
25 lines
946 B
YAML
# The PAT does not have the correct permissions to make this work; Eventually we'll want to replace this workflow with a proper bot
|
|
# name: "Labels: Approved"
|
|
# on:
|
|
# pull_request_review:
|
|
# types: [submitted]
|
|
# jobs:
|
|
# add_label:
|
|
# # Change the repository name after you've made sure the team name is correct for your fork!
|
|
# if: ${{ (github.repository == 'DeltaV-Station/Delta-v') && (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: "maintainers"
|
|
# GITHUB_TOKEN: ${{ secrets.LABELER_PAT }}
|
|
# - if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}
|
|
# uses: actions-ecosystem/action-add-labels@v1
|
|
# with:
|
|
# labels: "S: Approved"
|