fix: http generic bf add not verb check (#1202) #839
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: Generate Taxonomy | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
generate_taxonomy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go 1.20 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20.4" | |
id: go | |
- name: merge all results | |
run: | | |
cd .exportedField | |
go get ./... | |
go build exported.go | |
cd .. | |
.exportedField/exported | |
- name: commit file | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit -m "Update exportedFields" exportedFields.json || exit 0 | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
if: github.event_name == 'push' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |