mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-06 13:26:26 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
667 B
YAML
30 lines
667 B
YAML
name: Verify goreleaser change
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
- 'release-**'
|
|
paths:
|
|
- '.goreleaser.yml'
|
|
- 'hack/release-tools/goreleaser.sh'
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
name: Checkout
|
|
|
|
- name: Verify .goreleaser.yml and try a dryrun release.
|
|
if: github.repository == 'vmware-tanzu/velero'
|
|
run: |
|
|
CHANGELOG=$(ls changelogs | sort -V -r | head -n 1)
|
|
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
|
|
REGISTRY=velero \
|
|
RELEASE_NOTES_FILE=changelogs/$CHANGELOG \
|
|
PUBLISH=false \
|
|
make release
|
|
|