Skip to content

add alert context for appsec/waf (#1164) #819

add alert context for appsec/waf (#1164)

add alert context for appsec/waf (#1164) #819

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 }}