From 151a18e3eee540662ed0432d4a8fe0d72dc44506 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Mon, 7 Dec 2020 14:16:04 -0800 Subject: [PATCH] Add action for responding to Needs Logs label (#13707) --- .github/respond-to-issue-based-on-label.yml | 2 ++ .github/workflows/on-label.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/respond-to-issue-based-on-label.yml create mode 100644 .github/workflows/on-label.yml diff --git a/.github/respond-to-issue-based-on-label.yml b/.github/respond-to-issue-based-on-label.yml new file mode 100644 index 0000000000..cd642a7ebd --- /dev/null +++ b/.github/respond-to-issue-based-on-label.yml @@ -0,0 +1,2 @@ +needs logs: + comment: "We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.\n\nTo find your logs:\n\n- Open command palette (Click **View** -> **Command Palette**)\n- Run the command: **`Developer: Open Logs Folder`**\n\nThis will open the log file locally. Please zip up this folder and attach it to the issue." diff --git a/.github/workflows/on-label.yml b/.github/workflows/on-label.yml new file mode 100644 index 0000000000..0af0b785f4 --- /dev/null +++ b/.github/workflows/on-label.yml @@ -0,0 +1,15 @@ +name: On Issue Open +on: + issues: + types: [labeled] + +jobs: + processLabelAction: + name: Process Label Action + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Process Label Action + uses: hramos/label-actions@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}