Skip to content

Commit

Permalink
Merge pull request #76 from srz-zumix/feature/update_readme_2
Browse files Browse the repository at this point in the history
update README
  • Loading branch information
srz-zumix authored Mar 4, 2023
2 parents fd4983c + 3514e79 commit 6052873
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ repository_dispatch:
gh api -H "Accept: application/vnd.github+json" \
/repos/srz-zumix/gh-act/dispatches \
--input -

ghact_envs:
grep -o GHACT_[A-Z][A-Z_]* -r . --no-filename | sort | uniq
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ Supported Events
| GHACT_AUTO_GITHUB_TOKEN | flag to automatically set the GITHUB_TOKEN secret | true |
| GHACT_BRANCH | specify branch name | current branch |
| GHACT_CLIENT_PAYLOAD | repository_dispatch client_payload json string | null |
| GHACT_CREATE_EVENT_JSON | if you specify false, gh act will not generate event json | true |
| GHACT_DISCUSSION_NUMBER | specify issue number ({github_host}/{owner}/{repo}/discussions/{__number__}) | null |
| GHACT_INPUTS | workflow_dispatch inputs json string | null |
| GHACT_CLIENT_PAYLOAD | repository_dispatch client_payload json string | null |
| GHACT_ISSUE_NUMBER | specify issue number ({github_host}/{owner}/{repo}/issues/{__number__}) | last issue number |
| GHACT_MILESTONE_NUMBER | specify milestone number ({github_host}/{owner}/{repo}/milestone/{__number__}) | last milestone number |
| GHACT_ISSUE_NUMBER | specify issue number ({github_host}/{owner}/{repo}/issues/{__number__}) | last issue number |
| GHACT_MILESTONE_NUMBER | specify milestone number ({github_host}/{owner}/{repo}/milestone/{__number__}) | last milestone number |
| GHACT_PACKAGE_NAME | specify package name | first package name |
| GHACT_PACKAGE_TYPE | specify package type ([supported package_type][]) | container |
| GHACT_PULL_REQUEST_NUMBER | specify pull request number ({github_host}/{owner}/{repo}/pull/{__number__}) | gh pr view --json number --jq .number |
| GHACT_PULL_REQUEST_NUMBER | specify pull request number ({github_host}/{owner}/{repo}/pull/{__number__}) | gh pr view --json number --jq .number |
| GHACT_PULL_REQUEST_SPEC | specify gh pr view __[\<number\> \| \<url\> \| \<branch\>]__ | |
| GHACT_RELEASE_NAME | specify release name | gh release list -L 1 --exclude-drafts |
| GHACT_SCHEDULE_CRON | specify [cron string][] | 0 0 * * * |
Expand Down

0 comments on commit 6052873

Please sign in to comment.