Skip to content

Post CircleCI violations task to Buildkite #14916

@oguzkocer

Description

@oguzkocer

- run:
name: Violations
when: on_fail
command: |
if [ -n "$GITHUB_API_TOKEN" ]; then
./gradlew --stacktrace violationCommentsToGitHub -DGITHUB_PULLREQUESTID=${CIRCLE_PULL_REQUEST##*/} -DGITHUB_OAUTH2TOKEN=$GHHELPER_ACCESS
else
echo "Not posting lint errors to Github because \$GITHUB_API_TOKEN is not found"
fi

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions