From d0d2115bee90fa27eaafa3c2b483bba17d03d01c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Fri, 26 Feb 2021 17:10:59 -0800 Subject: [PATCH] Use renamed `respond-to-issue-based-on-label` GitHub Action. (#30832) Summary: We use the `respond-to-issue-based-on-label` GitHub Action to aid in issue triage. This is a trivial change to ensure we use the new, renamed version of the action. ## Changelog [Internal] - Use renamed GitHub action Pull Request resolved: https://github.com/facebook/react-native/pull/30832 Test Plan: CI Reviewed By: fkgozali Differential Revision: D26702542 Pulled By: hramos fbshipit-source-id: d9d3685f17bfc504fd7e31dee1c6c330e88ef1d1 --- ...actions.yml => respond-to-issue-based-on-label.yml} | 2 +- ...{process-label-actions.yml => on-issue-labeled.yml} | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename .github/{label-actions.yml => respond-to-issue-based-on-label.yml} (96%) rename .github/workflows/{process-label-actions.yml => on-issue-labeled.yml} (54%) diff --git a/.github/label-actions.yml b/.github/respond-to-issue-based-on-label.yml similarity index 96% rename from .github/label-actions.yml rename to .github/respond-to-issue-based-on-label.yml index 8cef0647e00..65131ff0840 100644 --- a/.github/label-actions.yml +++ b/.github/respond-to-issue-based-on-label.yml @@ -1,4 +1,4 @@ -# Configuration for Label Actions - https://github.com/marketplace/actions/label-actions +# Configuration for Respond To Issue Based on Label https://github.com/marketplace/actions/respond-to-issue-based-on-label "Type: Invalid": close: true diff --git a/.github/workflows/process-label-actions.yml b/.github/workflows/on-issue-labeled.yml similarity index 54% rename from .github/workflows/process-label-actions.yml rename to .github/workflows/on-issue-labeled.yml index 2c63100f6e8..e68682b2ecb 100644 --- a/.github/workflows/process-label-actions.yml +++ b/.github/workflows/on-issue-labeled.yml @@ -1,16 +1,16 @@ -name: Label Actions +name: On Issue Labeled # This workflow is triggered when a label is added to an issue. on: issues: types: labeled jobs: - processLabelAction: - name: Process Label Action + respondToIssueBasedOnLabel: + name: Respond to Issue Based on Label runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Process Label Action - uses: hramos/label-actions@v1 + - name: Respond to Issue Based on Label + uses: hramos/respond-to-issue-based-on-label@v2 with: repo-token: ${{ secrets.GITHUB_TOKEN }}