Bumps [actions/cache](https://github.com/actions/cache) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](3624ceb22c...6849a64899)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: Autogenerated files check
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/autogenerated-files.yml
|
|
- README.md
|
|
- completions/**
|
|
- docs/Manpage.md
|
|
- manpages/brew.1
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
HOMEBREW_DEVELOPER: 1
|
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash -xeuo pipefail {0}
|
|
|
|
jobs:
|
|
autogenerated:
|
|
runs-on: ubuntu-22.04
|
|
if: github.repository == 'Homebrew/brew'
|
|
steps:
|
|
- name: Set up Homebrew
|
|
id: set-up-homebrew
|
|
uses: Homebrew/actions/setup-homebrew@master
|
|
with:
|
|
core: false
|
|
cask: false
|
|
test-bot: true
|
|
|
|
- name: Cache Bundler RubyGems
|
|
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
|
|
with:
|
|
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
|
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
|
restore-keys: ${{ runner.os }}-rubygems-
|
|
|
|
- name: Check for changes to autogenerated files
|
|
id: check
|
|
run: |
|
|
if brew generate-man-completions
|
|
then
|
|
echo "This PR modifies autogenerated files!" >&2
|
|
echo "Please ensure their source files are updated and then run the following:
|
|
brew generate-man-completions" >&2
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|