[cherry-pick][release-1.12]Add go clean in Dockerfile and action. #7184
Workflow file for this run
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
name: Pull Request Changelog Check | |
# by setting `on: [pull_request]`, that means action will be trigger when PR is opened, synchronize, reopened. | |
# Add labeled and unlabeled events too. | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
jobs: | |
build: | |
name: Run Changelog Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v2 | |
- name: Changelog check | |
if: ${{ !(contains(github.event.pull_request.labels.*.name, 'kind/changelog-not-required') || contains(github.event.pull_request.labels.*.name, 'Design') || contains(github.event.pull_request.labels.*.name, 'Website') || contains(github.event.pull_request.labels.*.name, 'Documentation'))}} | |
run: ./hack/changelog-check.sh |