ab180/Org Action

Github action for preparing org-level github token and git checkout using github app secrets

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Sep 25, 2024
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: ab180/org-action@65510f16fe4afe474b461e989ce4ce9d84c16151 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
app_iddefault env.GITHUB_APP_ID
app_private_keydefault env.GITHUB_APP_PRIVATE_KEY
app_permissioncomma-seperated value, supported: - `contents-ro` : git checkout permission - `contents-rw` : git commit and permission, it contains contents-ro also - `actions-rw` : github actions(workflow) read and execute permission - `checks-rw` : github checks read and write permission - `administration-ro` : github administration read only permission - `pull-requests-rw` : github pull-requests read and write permission - `issues-ro` : github issues read only permission - `issues-rw` : github issues read and write permission contents-ro
checkoutmultiline-input, formatted "<repository>@<ref>: <checkout path>" repository should exist in same owner of workflow's and able to read with github app token <repository> should be repository name without owner or `<owner>/<name>` `@<ref>` can be omitted and uses `main` branch by default. if repository is same with workflow's and @ref is omitted, it uses github.ref instead. be caution order of the lines, this actions delete path before checkout to avoid conflict. outer path should be defined first and inner path should be defined last. for example, ```yaml with: checkout: ab180/web-server: . ab180/common-lib: ./lib/common-lib ``` ""
cwdcurrent working directory.${{github.workspace}}
add_git_configadd github app token into git config to use when checkout organization repositorytrue
action_tokentoken used when check out itself${{ github.token }}
fetch-depthnumber of commits to fetch. 0 indicates all history for all branches and tags.1
namedescription
tokengithub app token, it is also exported to environment named as `GITHUB_APP_TOKEN` and can be used in same job