Skip to content

Commit

Permalink
test generate files action
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayJagan committed Oct 11, 2024
1 parent fa63b4d commit ffcf029
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/check-file-updates.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check config and readme updates
on:
pull_request:
pull_request_target:
jobs:
file-updates:
permissions:
Expand All @@ -9,12 +9,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: test
run: |
cat .github/workflows/check-file-updates.yaml
- name: test
run: |
make generate manifests api-docs
git status
- name: Generate files
id: generate-files
run: |
CMD="make generate manifests api-docs"
$CMD
echo "CMD=$CMD" >> $GITHUB_OUTPUT
- name: test another
run: |
echo "${{ github.event.pull_request.number }}"
- name: Ensure generated files are up-to-date
id: check_generated_files
run : |
Expand Down

0 comments on commit ffcf029

Please sign in to comment.