Skip to content

Commit 895bf98

Browse files
authored
Update README.md (#2)
* Last minute readme update
1 parent 1a98d7d commit 895bf98

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22

33
This action retrieves the info of the previous workflow run for the current workflow.
44

5+
## Key differences
6+
This action stands out from similar solutions for several reasons:
7+
8+
* Reliability with GitHub CLI: It uses the GitHub CLI (`gh` command) for API interactions, ensuring consistent functionality even as GitHub's API evolves. Unlike hardcoded API URLs, the `gh` command is always valid on GitHub Action runners.
9+
10+
* No External Dependencies: By avoiding `curl` for HTTP requests and `jq` for JSON parsing, this action eliminates potential compatibility issues. It relies on the built-in capabilities of the gh command, ensuring smooth operation across different environments.
11+
512
## Inputs
613

7-
`GITHUB_TOKEN`: (Optional) The GitHub token for authentication. If not provided, the action will use the default token `${{ github.token }}`.
14+
* `GITHUB_TOKEN`: (Optional) The GitHub token for authentication. If not provided, the action will use the default token `${{ github.token }}`.
815

916
## Outputs
1017

11-
`last_run_id`: The ID of the last completed workflow run.
12-
13-
`last_run_conclusion`: The conclusion status of the last completed workflow run.
18+
* `last_run_id`: The ID of the last completed workflow run.
19+
* `last_run_conclusion`: The conclusion status of the last completed workflow run.
1420

1521
## Example Usage
1622

0 commit comments

Comments
 (0)