Skip to content

Commit 6052873

Browse files
authored
Merge pull request #76 from srz-zumix/feature/update_readme_2
update README
2 parents fd4983c + 3514e79 commit 6052873

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ repository_dispatch:
2121
gh api -H "Accept: application/vnd.github+json" \
2222
/repos/srz-zumix/gh-act/dispatches \
2323
--input -
24+
25+
ghact_envs:
26+
grep -o GHACT_[A-Z][A-Z_]* -r . --no-filename | sort | uniq

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,14 @@ Supported Events
6565
| GHACT_AUTO_GITHUB_TOKEN | flag to automatically set the GITHUB_TOKEN secret | true |
6666
| GHACT_BRANCH | specify branch name | current branch |
6767
| GHACT_CLIENT_PAYLOAD | repository_dispatch client_payload json string | null |
68+
| GHACT_CREATE_EVENT_JSON | if you specify false, gh act will not generate event json | true |
69+
| GHACT_DISCUSSION_NUMBER | specify issue number ({github_host}/{owner}/{repo}/discussions/{__number__}) | null |
6870
| GHACT_INPUTS | workflow_dispatch inputs json string | null |
69-
| GHACT_CLIENT_PAYLOAD | repository_dispatch client_payload json string | null |
70-
| GHACT_ISSUE_NUMBER | specify issue number ({github_host}/{owner}/{repo}/issues/{__number__}) | last issue number |
71-
| GHACT_MILESTONE_NUMBER | specify milestone number ({github_host}/{owner}/{repo}/milestone/{__number__}) | last milestone number |
71+
| GHACT_ISSUE_NUMBER | specify issue number ({github_host}/{owner}/{repo}/issues/{__number__}) | last issue number |
72+
| GHACT_MILESTONE_NUMBER | specify milestone number ({github_host}/{owner}/{repo}/milestone/{__number__}) | last milestone number |
7273
| GHACT_PACKAGE_NAME | specify package name | first package name |
7374
| GHACT_PACKAGE_TYPE | specify package type ([supported package_type][]) | container |
74-
| GHACT_PULL_REQUEST_NUMBER | specify pull request number ({github_host}/{owner}/{repo}/pull/{__number__}) | gh pr view --json number --jq .number |
75+
| GHACT_PULL_REQUEST_NUMBER | specify pull request number ({github_host}/{owner}/{repo}/pull/{__number__}) | gh pr view --json number --jq .number |
7576
| GHACT_PULL_REQUEST_SPEC | specify gh pr view __[\<number\> \| \<url\> \| \<branch\>]__ | |
7677
| GHACT_RELEASE_NAME | specify release name | gh release list -L 1 --exclude-drafts |
7778
| GHACT_SCHEDULE_CRON | specify [cron string][] | 0 0 * * * |

0 commit comments

Comments
 (0)