Skip to content

[WIP] Adds automation script to add issue label #1

[WIP] Adds automation script to add issue label

[WIP] Adds automation script to add issue label #1

name: Apply issue labels to PR
on:
pull_request:
pull_request_target:
jobs:
mirror-labels-to-pr:
# if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run label script
run: ../actions/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} ${{ GITHUB_REPOSITORY }} ${{ github.event_path }}

Check failure on line 15 in .github/workflows/apply-issue-labels-to-pr.yml

View workflow run for this annotation

GitHub Actions / Apply issue labels to PR

Invalid workflow file

The workflow is not valid. .github/workflows/apply-issue-labels-to-pr.yml (Line: 15, Col: 14): Unrecognized named-value: 'GITHUB_REPOSITORY'. Located at position 1 within expression: GITHUB_REPOSITORY