mirror of
https://github.com/actions/checkout.git
synced 2025-12-13 22:09:23 +00:00
Merge remote-tracking branch 'actions/master' into gist
This commit is contained in:
@@ -110,13 +110,6 @@ describe('input-helper tests', () => {
|
||||
)
|
||||
})
|
||||
|
||||
it('sets correct default ref/sha for other repo', () => {
|
||||
inputs.repository = 'some-owner/some-other-repo'
|
||||
const settings: IGitSourceSettings = inputHelper.getInputs()
|
||||
expect(settings.ref).toBe('refs/heads/master')
|
||||
expect(settings.commit).toBeFalsy()
|
||||
})
|
||||
|
||||
it('sets correct default ref/sha for gist', () => {
|
||||
inputs.gist = 'some-owner/some-gist'
|
||||
const settings: IGitSourceSettings = inputHelper.getInputs()
|
||||
|
||||
@@ -12,6 +12,6 @@ if [[ "$(git status --porcelain)" != "" ]]; then
|
||||
echo ----------------------------------------
|
||||
echo Troubleshooting
|
||||
echo ----------------------------------------
|
||||
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run all"
|
||||
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run format && npm run build"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user