Skip to content

Commit

Permalink
add generate CI action to rebuild suppressed files
Browse files Browse the repository at this point in the history
  • Loading branch information
jakedoublev committed Mar 13, 2024
1 parent 70e3af8 commit 9af4049
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Generate'

on:
# push:
# branches:
# - main
pull_request:
branches:
- main

jobs:
generate:
runs-on: ubuntu-22.04
permissions:
checks: write
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v4
- run: |
make proto-generate
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "generated"
# git push
7 changes: 6 additions & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# CODEOWNERS

* @opentdf/developers
- @opentdf/developers

# Suppresses generated files in diffs

.gitattributes @biscoe916 @jrschumacher @strantalis @ttschampel
.github/workflows/generate.yaml @biscoe916 @jrschumacher @strantalis @ttschampel

0 comments on commit 9af4049

Please sign in to comment.