tool: add a script to centralize golang version update #135
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 linter | |
on: | |
pull_request_target: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v1 | |
- name: Verify Pull Request Labels | |
uses: jesusvasquez333/[email protected] | |
with: | |
github-token: '${{ secrets.GITHUB_TOKEN }}' | |
valid-labels: 'bug, enhancement, refactoring, documentation, tooling, dependencies' | |
pull-request-number: '${{ github.event.pull_request.number }}' | |
check-milestone: | |
name: Check Milestone | |
runs-on: ubuntu-latest | |
steps: | |
- if: github.event.pull_request.milestone == null && !contains(toJson(github.event.pull_request.labels.*.name), 'qa/skip-qa') | |
run: echo "::error::Missing milestone or \`qa/skip-qa\` label" && exit 1 |