From 883f800b969ce7348b2d6074e01e7ad0be9f167f Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Sat, 28 Dec 2019 17:10:28 +0900 Subject: [PATCH] Change missing project and column to an error --- dist/src/create_or_update_pull_request.py | 4 ++-- src/create_or_update_pull_request.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/src/create_or_update_pull_request.py b/dist/src/create_or_update_pull_request.py index 009be66..52d53ef 100644 --- a/dist/src/create_or_update_pull_request.py +++ b/dist/src/create_or_update_pull_request.py @@ -20,7 +20,7 @@ def create_project_card(github_repo, project_name, project_column_name, pull_req break if not project: - print("::warning::Project not found. Unable to create project card.") + print("::error::Project not found. Unable to create project card.") return # Locate the column by name @@ -31,7 +31,7 @@ def create_project_card(github_repo, project_name, project_column_name, pull_req break if not column: - print("::warning::Project column not found. Unable to create project card.") + print("::error::Project column not found. Unable to create project card.") return # Create a project card for the pull request diff --git a/src/create_or_update_pull_request.py b/src/create_or_update_pull_request.py index 009be66..52d53ef 100644 --- a/src/create_or_update_pull_request.py +++ b/src/create_or_update_pull_request.py @@ -20,7 +20,7 @@ def create_project_card(github_repo, project_name, project_column_name, pull_req break if not project: - print("::warning::Project not found. Unable to create project card.") + print("::error::Project not found. Unable to create project card.") return # Locate the column by name @@ -31,7 +31,7 @@ def create_project_card(github_repo, project_name, project_column_name, pull_req break if not column: - print("::warning::Project column not found. Unable to create project card.") + print("::error::Project column not found. Unable to create project card.") return # Create a project card for the pull request