From 8c864578af6e9445ce7c76443e27a98c4ccd6663 Mon Sep 17 00:00:00 2001 From: Aydin Hassan Date: Fri, 21 Mar 2025 11:45:04 +0100 Subject: [PATCH] feat: add GitHub file renamed status --- docs/commands.md | 4 ++++ src/Struct/File.php | 1 + 2 files changed, 5 insertions(+) diff --git a/docs/commands.md b/docs/commands.md index 8668fd33..8bdb662c 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -12,6 +12,10 @@ This command runs the local Danger configuration against a Github PR without mod - Github Pull Request URL +### Environment variables + +- GITHUB_TOKEN with a GitHub token + ## gitlab-local This command runs the local Danger configuration against a Gitlab PR without modifying anything; diff --git a/src/Struct/File.php b/src/Struct/File.php index 76e3e7bd..e76ca479 100644 --- a/src/Struct/File.php +++ b/src/Struct/File.php @@ -8,6 +8,7 @@ abstract class File public const STATUS_ADDED = 'added'; public const STATUS_REMOVED = 'removed'; public const STATUS_MODIFIED = 'modified'; + public const STATUS_RENAMED = 'renamed'; public string $name;