Skip to content

Commit

Permalink
do not commit costs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Dec 5, 2024
1 parent a44f20b commit 85a2210
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/generate-go-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
fetch-depth: 0

- name: Detect changes
- name: Detect changes related to current PR
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
with:
Expand All @@ -57,7 +57,7 @@ jobs:
- 'framework/**/*.go'
# later add tools here or make this filter dynamic (if possible)
- name: Find all go modules
- name: Find all go modules in the repository and filter the ones that changed
shell: bash
id: go-modules
env:
Expand Down Expand Up @@ -100,11 +100,15 @@ jobs:
done
rm filtered_folders.json
- name: Save costs
- name: Upload costs as artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: generation-costs
path: ./costs
path: ./costs

- name: Remove costs before committing
shell: bash
run: rm -rf costs

- name: Setup GitHub Token for creating a new PR
id: setup-github-token-write
Expand Down

0 comments on commit 85a2210

Please sign in to comment.