Update start_server.sh #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Label when approved" | |
on: pull_request_review | |
jobs: | |
label-when-approved: | |
name: "Label when approved" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Get information about the original trigger of the run" | |
uses: potiuk/get-workflow-origin@v1_2 | |
id: source-run-info | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
sourceRunId: ${{ github.event.workflow_run.id }} | |
- name: Label when approved by anyone | |
uses: TobKed/label-when-approved-action@v1.2 | |
id: label-when-approved-by-anyone | |
with: | |
token: ${{ secrets.PAT }} | |
require_committers_approval: 'true' | |
label: 'Approved by committer' | |
comment: 'PR approved by at least one committer and no changes requested.' | |
pullRequestNumber: ${{ steps.source-run-info.outputs.pullRequestNumber }} |