From c5c0d6e76a1f0f0768e0ebdb34774a0a4065a33e Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Thu, 7 Sep 2023 18:02:58 -0400 Subject: [PATCH] Add it to ci.yml Signed-off-by: Darshit Chanpura --- .github/workflows/apply-issue-labels-to-pr.yml | 2 +- .github/workflows/ci.yml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/apply-issue-labels-to-pr.yml b/.github/workflows/apply-issue-labels-to-pr.yml index 3615d16d84..c8ea9794e6 100644 --- a/.github/workflows/apply-issue-labels-to-pr.yml +++ b/.github/workflows/apply-issue-labels-to-pr.yml @@ -12,4 +12,4 @@ jobs: - uses: actions/checkout@v3 - name: Run label script - run: ../actions/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} ${{ secrets.GITHUB_REPOSITORY }} ${{ github.event_path }} + run: ../actions/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} ${{ GITHUB_REPOSITORY }} ${{ github.event_path }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6f9aa66d3..a06b98cf8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,3 +186,12 @@ jobs: - name: List files in the build directory if there was an error run: ls -al ./build/distributions/ if: failure() + + 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 }}