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
+ ---
1
2
version : 2
2
3
updates :
3
- - package-ecosystem : github-actions
4
+ - package-ecosystem : " github-actions"
4
5
directory : " /"
5
6
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)"
11
10
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
3
3
on :
4
4
workflow_dispatch :
5
5
schedule :
6
- - cron : " 0 * * * *" # every hour
6
+ - cron : " 0 * * * *" # every hour
7
+
8
+ permissions :
9
+ contents : read
7
10
8
11
jobs :
9
12
update :
13
+ permissions :
14
+ pull-requests : write
10
15
runs-on : ubuntu-latest
11
16
if : github.repository_owner == 'github'
12
17
steps :
13
- - uses : actions/checkout@v4
18
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
14
19
15
20
- name : Setup Ruby
16
- uses : ruby/setup-ruby@v1
21
+ uses : ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # v1
17
22
with :
18
23
bundler-cache : true
19
24
20
25
- 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
22
27
env :
23
28
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24
29
AUTOCORRECT_RENAMED_REPOS : 1
25
30
with :
26
31
EXECUTE_COMMANDS : |
27
32
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 4
4
pull_request :
5
5
merge_group :
6
6
7
+ permissions :
8
+ contents : read
9
+
7
10
jobs :
8
11
check :
9
12
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 8
8
9
9
permissions :
10
10
contents : read
11
- pages : write
12
- id-token : write
13
-
11
+
14
12
concurrency :
15
13
group : " pages"
16
14
cancel-in-progress : true
17
15
18
16
jobs :
19
17
build :
18
+ permissions :
19
+ pages : write
20
+ id-token : write
20
21
runs-on : ubuntu-latest
21
22
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
24
31
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
30
35
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
34
38
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
40
41
41
42
deploy :
42
43
needs : build
49
50
steps :
50
51
- name : 🚀 deploy
51
52
id : deployment
52
-
53
+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
Original file line number Diff line number Diff line change 8
8
workflow_dispatch :
9
9
merge_group :
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
lint :
13
16
runs-on : ubuntu-latest
14
17
steps :
15
- - uses : actions/checkout@v4
18
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
16
19
17
20
- name : Setup Ruby
18
- uses : ruby/setup-ruby@v1
21
+ uses : ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # v1
19
22
with :
20
23
bundler-cache : true
21
24
22
25
- name : Run linters
23
26
if : ${{ github.event_name != 'merge_group' }}
24
- uses : wearerequired/lint-action@v2
27
+ uses : wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
25
28
with :
26
29
auto_fix : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login == github.repository_owner }}
27
30
rubocop : true
Original file line number Diff line number Diff line change 14
14
pull-requests : write # for actions/stale to close stale PRs
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - uses : actions/stale@v9
17
+ - uses : actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
18
18
with :
19
19
stale-pr-message : >
20
20
This pull request has been automatically marked as stale because it has not
Original file line number Diff line number Diff line change 8
8
workflow_dispatch :
9
9
merge_group :
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
test :
13
16
strategy :
19
22
- all
20
23
runs-on : ubuntu-latest
21
24
steps :
22
- - uses : actions/checkout@v4
25
+ - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
23
26
with :
24
27
fetch-depth : 0
25
28
40
43
41
44
- name : Setup Ruby
42
45
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
44
47
with :
45
48
bundler-cache : true
46
49
Original file line number Diff line number Diff line change 8
8
vendor
9
9
.bundle
10
10
.idea
11
+ .tool-versions
You can’t perform that action at this time.
0 commit comments