You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Private Action Loader
v1
This action loads and executes a private Action. This allows private actions to be reused in other private repositories. All inputs are passed down into the private action. All outputs of the private actions are passed back to the loader action.
Required An access token with the repo scope to the repository containing the action. This should be stored as a repo secret.
Required The repository containing the action. A ref can also be appended to specify an exact commit of the action (SHA, tag, or branch). Must be in the format of {owner}/{repo}
or {owner}/{repo}@{sha}
.
- uses: invisionapp/private-action-loader@v1
with:
repo-token: ${{ secrets.REPO_TOKEN }}
repo-name: some-org/super-secret-action
# the following input gets passed to the private action
input-used-by-other-action: this will be passed to super-secret-action
- uses: invisionapp/private-action-loader@v1
with:
repo-token: ${{ secrets.REPO_TOKEN }}
repo-name: some-org/super-secret-action
- uses: invisionapp/private-action-loader@v1
with:
repo-token: ${{ secrets.REPO_TOKEN }}
repo-name: some-org/super-secret-action@b8a83a0
- uses: invisionapp/private-action-loader@v1
with:
repo-token: ${{ secrets.REPO_TOKEN }}
repo-name: some-org/super-secret-action@master
- uses: invisionapp/private-action-loader@v1
with:
repo-token: ${{ secrets.REPO_TOKEN }}
repo-name: some-org/super-secret-action@v1
- uses: invisionapp/private-action-loader@v1
id: output_example
with:
repo-token: ${{ secrets.REPO_TOKEN }}
repo-name: some-org/super-secret-action@v1
- name: Get the previous output
run: echo "The previous output was ${{ steps.output_example.outputs.<name of output> }}"
- Only supports javascript actions
- There are no tests yet
- There is very little error handling so far