File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
2+
3+ permissions :
4+ contents : read
25on :
36 pull_request :
47 branches :
3639 runs-on : ${{ matrix.os }}
3740 steps :
3841 - name : Checkout repo
39- uses : actions/checkout@v2
42+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
43+ with :
44+ persist-credentials : false
4045 - name : Install Ruby ${{ matrix.ruby }}
41- uses : ruby/setup-ruby@v1
46+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
4247 with :
4348 ruby-version : " ${{ matrix.ruby }}"
4449 - name : Install tools
@@ -49,11 +54,13 @@ jobs:
4954 # See https://github.com/actions/runner-images/issues/10215
5055 # and https://github.com/rubygems/rubygems/issues/7983.
5156 shell : bash
57+ # zizmor: ignore[template-injection]
5258 run : |
5359 if [ -d /opt/hostedtoolcache/Ruby ]; then
5460 chmod -R o-w /opt/hostedtoolcache/Ruby
5561 fi
5662 - name : Test ${{ matrix.task }} ${{ matrix.rubyopt }}
63+ # zizmor: ignore[template-injection]
5764 run : |
5865 toys ci -v --only ${{ matrix.task }} --github-event-name=${{ github.event_name }} --github-event-payload=${{ github.event_path }}
5966 env :
Original file line number Diff line number Diff line change 11name : Generate-Updates
2+
3+ permissions :
4+ contents : read
25on :
36 workflow_dispatch :
47 inputs :
1417 GITHUB_TOKEN : ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
1518 steps :
1619 - name : Checkout repo
17- uses : actions/checkout@v4
20+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+ with :
22+ persist-credentials : false
1823 - name : Install Ruby 4.0
19- uses : ruby/setup-ruby@v1
24+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
2025 with :
2126 ruby-version : " 4.0"
2227 - name : Install tools
Original file line number Diff line number Diff line change 11name : Freeze releases
2+
3+ permissions :
4+ contents : read
25on :
36 workflow_dispatch :
47
1013 GITHUB_TOKEN : ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
1114 steps :
1215 - name : Checkout repo
13- uses : actions/checkout@v4
16+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
17+ with :
18+ persist-credentials : false
1419 - name : Install Ruby 4.0
15- uses : ruby/setup-ruby@v1
20+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
1621 with :
1722 ruby-version : " 4.0"
1823 - name : Install tools
Original file line number Diff line number Diff line change 11name : Unfreeze releases
2+
3+ permissions :
4+ contents : read
25on :
36 workflow_dispatch :
47
1013 GITHUB_TOKEN : ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
1114 steps :
1215 - name : Checkout repo
13- uses : actions/checkout@v4
16+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
17+ with :
18+ persist-credentials : false
1419 - name : Install Ruby 4.0
15- uses : ruby/setup-ruby@v1
20+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
1621 with :
1722 ruby-version : " 4.0"
1823 - name : Install tools
Original file line number Diff line number Diff line change 11name : Weekly-Generate-Updates
2+
3+ permissions :
4+ contents : read
25on :
36 schedule :
47 - cron : ' 02 9 * * 0'
1114 GITHUB_TOKEN : ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
1215 steps :
1316 - name : Checkout repo
14- uses : actions/checkout@v4
17+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+ with :
19+ persist-credentials : false
1520 - name : Install Ruby 4.0
16- uses : ruby/setup-ruby@v1
21+ uses : ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
1722 with :
1823 ruby-version : " 4.0"
1924 - name : Install tools
You can’t perform that action at this time.
0 commit comments