We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b56f1b4 commit d94224aCopy full SHA for d94224a
.github/workflows/pr-lint.yml
@@ -44,6 +44,8 @@ jobs:
44
# if there's a diff then the workflow will exit here.
45
- name: Run make verify
46
run: make BUILD_IN_CONTAINER=false verify
47
+ env:
48
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49
50
- name: Lint Golang Code
51
run: make BUILD_IN_CONTAINER=false lint-golang-ci
Makefile
@@ -762,6 +762,7 @@ ifeq ($(BUILD_IN_CONTAINER),true)
762
$(BUILDER_IMAGE):$(BUILDER_IMAGE_VERSION) $@;
763
else
764
@lychee --version
765
+ @if [ -z "$${GITHUB_TOKEN}" ]; then echo "GITHUB_TOKEN is not set"; exit 1; fi
766
lychee --verbose --config .lychee.toml ./*.md ./docs/**/*.md 2>&1 | grep -vP '\[(200|EXCLUDED)\]'
767
endif
768
0 commit comments