File tree Expand file tree Collapse file tree 8 files changed +61
-41
lines changed
Expand file tree Collapse file tree 8 files changed +61
-41
lines changed Original file line number Diff line number Diff line change 1+ ---
12version : 2
23updates :
3- - package-ecosystem : github-actions
4+ - package-ecosystem : " github-actions"
45 directory : " /"
56 schedule :
6- interval : daily
7- time : " 10:00"
8- timezone : Europe/Vienna
9- pull-request-branch-name :
10- separator : " -"
7+ interval : " daily"
8+ commit-message :
9+ prefix : " chore(deps)"
1110 open-pull-requests-limit : 99
12- rebase-strategy : disabled
11+ groups :
12+ dependencies :
13+ applies-to : version-updates
14+ update-types :
15+ - " minor"
16+ - " patch"
Original file line number Diff line number Diff line change @@ -3,30 +3,35 @@ name: Check and update renamed/removed collection items
33on :
44 workflow_dispatch :
55 schedule :
6- - cron : " 0 * * * *" # every hour
6+ - cron : " 0 * * * *" # every hour
7+
8+ permissions :
9+ contents : read
710
811jobs :
912 update :
13+ permissions :
14+ pull-requests : write
1015 runs-on : ubuntu-latest
1116 if : github.repository_owner == 'github'
1217 steps :
13- - uses : actions/checkout@v4
18+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
1419
1520 - name : Setup Ruby
16- uses : ruby/setup-ruby@v1
21+ uses : ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # v1
1722 with :
1823 bundler-cache : true
1924
2025 - name : Test collection with autofix and commit changes
21- uses : technote-space/create-pr-action@v2
26+ uses : technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # v2
2227 env :
2328 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2429 AUTOCORRECT_RENAMED_REPOS : 1
2530 with :
2631 EXECUTE_COMMANDS : |
2732 bundle exec rake collections
28- COMMIT_MESSAGE : ' ✨ Autofixing renamed/removed collection items ✨'
29- COMMIT_NAME : ' GitHub Actions'
30- 31- PR_BRANCH_NAME : ' update-collections-${PR_ID}'
32- PR_TITLE : ' ✨ Autofixing renamed/removed collection items ✨'
33+ COMMIT_MESSAGE : " ✨ Autofixing renamed/removed collection items ✨"
34+ COMMIT_NAME : " GitHub Actions"
35+ 36+ PR_BRANCH_NAME : " update-collections-${PR_ID}"
37+ PR_TITLE : " ✨ Autofixing renamed/removed collection items ✨"
Original file line number Diff line number Diff line change 44 pull_request :
55 merge_group :
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 check :
912 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 88
99permissions :
1010 contents : read
11- pages : write
12- id-token : write
13-
11+
1412concurrency :
1513 group : " pages"
1614 cancel-in-progress : true
1715
1816jobs :
1917 build :
18+ permissions :
19+ pages : write
20+ id-token : write
2021 runs-on : ubuntu-latest
2122 steps :
22- - name : 📂 checkout
23- uses : actions/checkout@v4
23+ - name : 📂 checkout
24+ uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
25+
26+ - name : 💎 setup ruby
27+ uses : ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
28+ with :
29+ bundler-cache : true
30+ cache-version : 0
2431
25- - name : 💎 setup ruby
26- uses : ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
27- with :
28- bundler-cache : true
29- cache-version : 0
32+ - name : 📄 setup pages
33+ id : pages
34+ uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
3035
31- - name : 📄 setup pages
32- id : pages
33- uses : actions/configure-pages@v5
36+ - name : 🔨 install dependencies & build site
37+ uses : actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1.0.13
3438
35- - name : 🔨 install dependencies & build site
36- 37-
38- - name : ⚡️ upload artifact
39- uses : actions/upload-pages-artifact@v3
39+ - name : ⚡️ upload artifact
40+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
4041
4142 deploy :
4243 needs : build
4950 steps :
5051 - name : 🚀 deploy
5152 id : deployment
52- 53+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
Original file line number Diff line number Diff line change 88 workflow_dispatch :
99 merge_group :
1010
11+ permissions :
12+ contents : read
13+
1114jobs :
1215 lint :
1316 runs-on : ubuntu-latest
1417 steps :
15- - uses : actions/checkout@v4
18+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
1619
1720 - name : Setup Ruby
18- uses : ruby/setup-ruby@v1
21+ uses : ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # v1
1922 with :
2023 bundler-cache : true
2124
2225 - name : Run linters
2326 if : ${{ github.event_name != 'merge_group' }}
24- uses : wearerequired/lint-action@v2
27+ uses : wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
2528 with :
2629 auto_fix : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
2730 rubocop : true
Original file line number Diff line number Diff line change 1414 pull-requests : write # for actions/stale to close stale PRs
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/stale@v9
17+ - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
1818 with :
1919 stale-pr-message : >
2020 This pull request has been automatically marked as stale because it has not
Original file line number Diff line number Diff line change 88 workflow_dispatch :
99 merge_group :
1010
11+ permissions :
12+ contents : read
13+
1114jobs :
1215 test :
1316 strategy :
1922 - all
2023 runs-on : ubuntu-latest
2124 steps :
22- - uses : actions/checkout@v4
25+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
2326 with :
2427 fetch-depth : 0
2528
4043
4144 - name : Setup Ruby
4245 if : ${{ steps.topics.outputs.changed || steps.collections.outputs.changed || steps.all.outputs.changed }}
43- uses : ruby/setup-ruby@v1
46+ uses : ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # v1
4447 with :
4548 bundler-cache : true
4649
Original file line number Diff line number Diff line change 88vendor
99.bundle
1010.idea
11+ .tool-versions
You can’t perform that action at this time.
0 commit comments