Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Add action test #6

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add action test #6

wants to merge 1 commit into from

Conversation

chvmvd
Copy link
Owner

@chvmvd chvmvd commented Apr 1, 2023

No description provided.

@chvmvd chvmvd closed this Apr 1, 2023
@chvmvd chvmvd deleted the add-action-test branch April 1, 2023 02:41
@chvmvd
Copy link
Owner Author

chvmvd commented Apr 1, 2023

Error occurred. Below is the error message.

Run /home/runner/work/_actions/rossjrw/pr-preview-action/v1/lib/find-current-git-tag.sh -p $actionrepo -f $actionref
some parameters are empty

Usage: /home/runner/work/_actions/rossjrw/pr-preview-action/v1/lib/find-current-git-tag.sh -p github_repository -f git_ref
	-p GitHub repository to clone, format: owner/repo
	-f Reference of repository to clone
Error: Process completed with exit code 1.

It looks like ${{ github.action_ref }} and ${{ github.action_repository }} are empty when running on composite action in rossjrw/pr-preview-action@v1 like this.

Run echo "action=$action" >> $GITHUB_ENV

......

  env:
    action: auto
    umbrella: pr-preview
    pr: 6
    actionref:
    actionrepo:
    customurl:

It looks like this is a bug of GitHub Actions. See actions/runner#2473.

@chvmvd chvmvd restored the add-action-test branch April 1, 2023 03:03
@chvmvd chvmvd reopened this Apr 1, 2023
@chvmvd chvmvd marked this pull request as draft April 1, 2023 03:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant