build(deps): bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 #6375
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: Release Note Label Check | |
# Trigger the workflow on pull requests only | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
branches: [main] | |
permissions: | |
contents: read | |
env: | |
GOPROXY: https://proxy.golang.org/ | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
# Ensures correct release-note labels are set: | |
# - At least one label | |
# - At most one of the main category labels | |
# - A deprecation label alone or with something other than "none-required" | |
# Ensures you can have a change that is just a deprecation, or include a | |
# deprecation with another release note. | |
check-label: | |
name: Check release-note label set | |
runs-on: ubuntu-latest | |
steps: | |
- uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce # v5.4.1 | |
with: | |
mode: minimum | |
count: 1 | |
labels: "release-note/major, release-note/minor, release-note/small, release-note/docs, release-note/infra, release-note/deprecation, release-note/none-required" | |
- uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce # v5.4.1 | |
with: | |
mode: maximum | |
count: 1 | |
labels: "release-note/major, release-note/minor, release-note/small, release-note/docs, release-note/infra, release-note/none-required" | |
- uses: mheap/github-action-required-labels@5847eef68201219cf0a4643ea7be61e77837bbce # v5.4.1 | |
with: | |
mode: maximum | |
count: 1 | |
labels: "release-note/deprecation, release-note/none-required" | |
check-changelog: | |
name: Check for changelog file | |
needs: [check-label] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
with: | |
persist-credentials: false | |
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 | |
with: | |
# * Module download cache | |
# * Build cache (Linux) | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-${{ github.job }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-${{ github.job }}-go- | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version: 'stable' | |
cache: false | |
- run: go run ./hack/actions/check-changefile-exists.go | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |