File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 22
22
with :
23
23
go-version-file : .go-version
24
24
25
+ - uses : magefile/mage-action@v3
26
+ with :
27
+ install-only : true
28
+
25
29
- name : update NOTICE.txt
26
30
run : make notice
27
31
38
42
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
39
43
git commit -m "Update NOTICE.txt"
40
44
git push
45
+
46
+ - name : update otel README.md
47
+ run : mage otel:readme
48
+
49
+ - name : check for modified otel README.md
50
+ id : otel-readme-check
51
+ run : echo "modified=$(if git diff-index --quiet HEAD -- internal/pkg/otel/README.md; then echo "false"; else echo "true"; fi)" >> $GITHUB_OUTPUT
52
+
53
+ - name : commit otel README.md
54
+ if : steps.otel-readme-check.outputs.modified == 'true'
55
+ run : |
56
+ git config --global user.name 'dependabot[bot]'
57
+ git config --global user.email 'dependabot[bot]@users.noreply.github.com'
58
+ git add internal/pkg/otel/README.md
59
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
60
+ git commit -m "Update otel README.md"
61
+ git push
You can’t perform that action at this time.
0 commit comments