File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Update Browserslist
2+ on :
3+ workflow_dispatch : {}
4+ schedule :
5+ - cron : ' 0 6 3 * *' # Every 3rd day of Month at 6:00 AM
6+ permissions :
7+ contents : write
8+ pull-requests : write
9+ jobs :
10+ browserlist :
11+ if : github.repository == 'k3s-io/docs'
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Check out repository code
15+ uses : actions/checkout@v4
16+ - name : Update Browserlist
17+ run : npx update-browserslist-db@latest
18+ - name : Get current month and year
19+ id : date
20+ run : echo "month_year=$(date +'%B %Y')" >> $GITHUB_OUTPUT
21+ - name : Create Pull Request
22+ uses : peter-evans/create-pull-request@v7
23+ with :
24+ commit-message : update release-notes/k3s-*.md
25+ title : Update Browsers List DB ${{ steps.date.outputs.month_year }}
26+ body : Automated npx update-browserslist-db@latest
27+ branch : update-browserslist-db
28+ signoff : true
Original file line number Diff line number Diff line change 3232 pip install codespell
3333 - name : Run codespell
3434 run : codespell
35- - name : Update Browserlist
36- run : npx update-browserslist-db@latest
3735 - name : Get current month and year
3836 id : date
3937 run : echo "month_year=$(date +'%B %Y')" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments