Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: emit a warning when the workspace is empty #117

Merged
merged 1 commit into from Jan 26, 2022
Merged

Conversation

sethvargo
Copy link
Member

There have been a number of GitHub issues recently due to users not adding actions/checkout before calling "auth", which makes the credentials unavailable to future steps. Worse, some people are putting checkout after auth, which overwrites the generated credentials with a checkout of the repo.

This adds a feature that emits a warning with the workspace is empty.

There have been a number of GitHub issues recently due to users not adding actions/checkout before calling "auth", which makes the credentials unavailable to future steps. Worse, some people are putting checkout _after_ auth, which overwrites the generated credentials with a checkout of the repo.

This adds a feature that emits a warning with the workspace is empty.
@sethvargo sethvargo requested a review from a team as a code owner January 26, 2022 19:23
@sethvargo sethvargo enabled auto-merge (squash) January 26, 2022 19:23
src/utils.ts Show resolved Hide resolved
@sethvargo sethvargo merged commit 983a037 into main Jan 26, 2022
@sethvargo sethvargo deleted the sethvargo/empty branch January 26, 2022 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants