forked from goharbor/harbor
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: bupd <[email protected]>
- Loading branch information
Showing
1 changed file
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,29 +22,6 @@ jobs: | |
- name: Dagger Version | ||
uses: sagikazarmark/[email protected] | ||
|
||
- name: Generate Document | ||
uses: dagger/dagger-for-github@v7 | ||
with: | ||
version: ${{ steps.dagger_version.outputs.version }} | ||
verb: call | ||
args: run-doc export --path=doc | ||
|
||
- name: Check for changes | ||
run: | | ||
# Check if any newly added docs exist | ||
untracked_files=$(git ls-files --others --exclude-standard) | ||
# If there are untracked files, fail the workflow | ||
if [ -n "$untracked_files" ]; then | ||
echo "New Untracked files found" | ||
echo "please check if docs were added for new commands" | ||
echo "$untracked_files" | ||
exit 1 # This will fail the workflow | ||
else | ||
echo "No untracked files found." | ||
fi | ||
continue-on-error: false | ||
|
||
- name: Run Dagger golangci-lint | ||
uses: dagger/dagger-for-github@v7 | ||
with: | ||
|