Skip to content

wip

wip #41

Workflow file for this run

name: PR

Check failure on line 1 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-request.yml

Invalid workflow file

(Line: 22, Col: 9): Unrecognized named-value: 'env'. Located at position 28 within expression: github.event.label.name == env.LABEL_ROBOT_TESTED
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
pull-requests: write
env:
LABEL_ROBOT_TEST_NEEDED: needs-robot-testing
LABEL_ROBOT_TESTED: robot-tested
jobs:
test-label:
if: github.event.label.name == env.LABEL_ROBOT_TESTED
name: Test Label
runs-on: ubuntu-latest
steps:
- name: Test Label Added
uses: ./.github/actions/test-unlabel
with:
label-robot-tested: ${{ env.LABEL_ROBOT_TESTED }}
test-unlabel:
if: github.event.action == 'synchronize'
name: Test Unlabel
runs-on: ubuntu-latest
steps:
- name: Remove Test Label
uses: ./.github/actions/test-label
with:
label-robot-tested: ${{ env.LABEL_ROBOT_TESTED }}
label-robot-test-needed: ${{ env.LABEL_ROBOT_TEST_NEEDED }}
build:
needs: test-remove-labels
if: always() && github.event.action != 'labeled'
name: Job
uses: ./.github/workflows/build.yaml