From b5a9f8b4cdd665e247cbb27323acdce060b7af17 Mon Sep 17 00:00:00 2001 From: Felipe Villegas Date: Thu, 13 Feb 2025 13:10:04 -0500 Subject: [PATCH] Fix gh command in add_member.yml I noticed that this action has been failing for new members. It looked like an easy fix. Error message: --label: command not found Solution: Add the missing line break character `\` to the `gh pr create` script block To test, I suggest we run the action again on my membership request. --- .github/workflows/add_member.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add_member.yml b/.github/workflows/add_member.yml index 1bb6cb0..ba3a7bf 100644 --- a/.github/workflows/add_member.yml +++ b/.github/workflows/add_member.yml @@ -85,7 +85,7 @@ jobs: --title "Add ${{ env.USERNAME }} to django-commons" \ --body "Fix #${{ env.ISSUE_NUMBER }}" \ --base main \ - --head ${{ env.BRANCH_NAME }} + --head ${{ env.BRANCH_NAME }} \ --label "New member" env: GITHUB_TOKEN: ${{ secrets.TERRAFORM_MANAGEMENT_GITHUB_TOKEN }}