fix typo: 'occured' -> 'occurred' in homebrew bump action #327
Workflow file for this run
This file contains hidden or 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: Check generate-graphql | |
| permissions: | |
| contents: read | |
| on: pull_request | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version-file: go.mod | |
| - name: Run generate-graphql | |
| run: | | |
| make generate-graphql | |
| - name: Check for generated file changes | |
| run: | | |
| if [ -n "$(git status --porcelain -- internal/service/graphql/graph/)" ]; then | |
| echo "Error: generated GraphQL files are out of sync." | |
| echo " Run: make generate-graphql and commit the generated files" | |
| git status -- internal/service/graphql/graph/ | |
| git diff -- internal/service/graphql/graph/ | |
| exit 1 | |
| fi |