From 6a00164139bfdf420bbd82e4533f9ee2f52ff628 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira <62367544+tilucasoli@users.noreply.github.com> Date: Fri, 28 Jun 2024 12:40:28 -0300 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..5230a4557 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +on: + pull_request: + types: [opened] + +jobs: + apply-label: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + script: | + console.log(${{ steps.pr-files.outputs.changedFiles }}) + github.rest.issues.addLabels({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + labels: ['Triage'] + })