mirror of
https://github.com/fluencelabs/aquavm
synced 2025-03-28 10:21:04 +00:00
* Automaically add e2e label when PR is approved * Trigger when e2e label workflow changes * Fix
23 lines
518 B
YAML
23 lines
518 B
YAML
name: "e2e label"
|
|
|
|
on:
|
|
pull_request_review:
|
|
types: [submitted]
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
label:
|
|
name: "Add e2e label to approved PR"
|
|
if: github.event.review.state == 'approved'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Label when approved
|
|
uses: pullreminders/label-when-approved-action@v1.0.7
|
|
env:
|
|
APPROVALS: "1"
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
ADD_LABEL: "e2e"
|