-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move remaining pr-bot logic to GitHub Script (#1727)
* Update command handling Assume that a first line starting with a slash is intended to be treated as a command and output help if not recognised * Remove previous help output from yml * Use core for logging, validate outputs are set correctly * Simplify test context setup * Move to using GitHub script outputs for pr details * Remove redundant step * Add reply comment when user cannot run commands * Switch to using output for command The linter was reporting failures when referencing additional outputs from the GitHub script action. Previously, we set the command as the action result and set the result type as string. This change switches to setting an output for the command explicitly, and reinstates the result type as object * Move to later super-linter to get actionlint update * Revert "Move to later super-linter to get actionlint update" This reverts commit 93a09b454733a87b924baea04f0674962c5b8301. It seems that the latest version of the super-linter action still pulls the v4.9.2 container which doesn't have the latest actionlint * Add actionlint to build script tests * Temporarily disable GitHub action linting in super-linter * Add missing awaits on github SDK calls * Move "running tests" comment to GitHub script * Handle docs-only check in GitHub script Bonus: allows for including 'mkdocs.yml' as a docs file * Use addActionComment for show-help Add more consistency around pr-bot messages * Add comment on /test-force-approve * Include commit SHA in /test-force-approve comment * Include refid (part of RG name) in comment for /test * Add pointer to run-test.sh
- Loading branch information
1 parent
76cd703
commit 7f6e292
Showing
5 changed files
with
535 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.