workflows: pin actions
This commit is contained in:
		
							parent
							
								
									f5adff9d90
								
							
						
					
					
						commit
						e2e9565984
					
				
							
								
								
									
										2
									
								
								.github/workflows/autogenerated-files.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/autogenerated-files.yml
									
									
									
									
										vendored
									
									
								
							@ -30,7 +30,7 @@ jobs:
 | 
				
			|||||||
          test-bot: true
 | 
					          test-bot: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache Bundler RubyGems
 | 
					      - name: Cache Bundler RubyGems
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
					          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
				
			||||||
          key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
					          key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										6
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							@ -19,10 +19,10 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Initialize CodeQL
 | 
					      - name: Initialize CodeQL
 | 
				
			||||||
        uses: github/codeql-action/init@v3
 | 
					        uses: github/codeql-action/init@319cdb9fa619417d07cc37a964f0502bfbc5e8a9 # v3
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          languages: ruby
 | 
					          languages: ruby
 | 
				
			||||||
          config: |
 | 
					          config: |
 | 
				
			||||||
@ -30,4 +30,4 @@ jobs:
 | 
				
			|||||||
              - Library/Homebrew/vendor
 | 
					              - Library/Homebrew/vendor
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Perform CodeQL Analysis
 | 
					      - name: Perform CodeQL Analysis
 | 
				
			||||||
        uses: github/codeql-action/analyze@v3
 | 
					        uses: github/codeql-action/analyze@319cdb9fa619417d07cc37a964f0502bfbc5e8a9 # v3
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							@ -25,7 +25,7 @@ jobs:
 | 
				
			|||||||
        version: ["18.04", "20.04", "22.04", "24.04"]
 | 
					        version: ["18.04", "20.04", "22.04", "24.04"]
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          fetch-depth: 0
 | 
					          fetch-depth: 0
 | 
				
			||||||
          persist-credentials: false
 | 
					          persist-credentials: false
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docs.yml
									
									
									
									
										vendored
									
									
								
							@ -30,7 +30,7 @@ jobs:
 | 
				
			|||||||
          test-bot: false
 | 
					          test-bot: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install vale
 | 
					      - name: Install vale
 | 
				
			||||||
        run: brew install vale
 | 
					        run: brew install vale
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										8
									
								
								.github/workflows/pkg-installer.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/pkg-installer.yml
									
									
									
									
										vendored
									
									
								
							@ -70,7 +70,7 @@ jobs:
 | 
				
			|||||||
        run: rm -f "${RUNNER_TEMP}/${TEMPORARY_CERTIFICATE_FILE}"
 | 
					        run: rm -f "${RUNNER_TEMP}/${TEMPORARY_CERTIFICATE_FILE}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Checkout another Homebrew to brew subdirectory
 | 
					      - name: Checkout another Homebrew to brew subdirectory
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: brew
 | 
					          path: brew
 | 
				
			||||||
          fetch-depth: 0
 | 
					          fetch-depth: 0
 | 
				
			||||||
@ -120,7 +120,7 @@ jobs:
 | 
				
			|||||||
          fi
 | 
					          fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Upload installer to GitHub Actions
 | 
					      - name: Upload installer to GitHub Actions
 | 
				
			||||||
        uses: actions/upload-artifact@v4
 | 
					        uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg
 | 
					          name: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg
 | 
				
			||||||
          path: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg
 | 
					          path: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg
 | 
				
			||||||
@ -142,7 +142,7 @@ jobs:
 | 
				
			|||||||
            name: macos-14-arm64
 | 
					            name: macos-14-arm64
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Download installer from GitHub Actions
 | 
					      - name: Download installer from GitHub Actions
 | 
				
			||||||
        uses: actions/download-artifact@v4
 | 
					        uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: "${{ needs.build.outputs.installer_path }}"
 | 
					          name: "${{ needs.build.outputs.installer_path }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -191,7 +191,7 @@ jobs:
 | 
				
			|||||||
      contents: write
 | 
					      contents: write
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Download installer from GitHub Actions
 | 
					      - name: Download installer from GitHub Actions
 | 
				
			||||||
        uses: actions/download-artifact@v4
 | 
					        uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: "${{ needs.build.outputs.installer_path }}"
 | 
					          name: "${{ needs.build.outputs.installer_path }}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/rubydoc.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/rubydoc.yml
									
									
									
									
										vendored
									
									
								
							@ -32,7 +32,7 @@ jobs:
 | 
				
			|||||||
          test-bot: false
 | 
					          test-bot: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Checkout Homebrew/rubydoc.brew.sh
 | 
					      - name: Checkout Homebrew/rubydoc.brew.sh
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          repository: Homebrew/rubydoc.brew.sh
 | 
					          repository: Homebrew/rubydoc.brew.sh
 | 
				
			||||||
          path: rubydoc
 | 
					          path: rubydoc
 | 
				
			||||||
 | 
				
			|||||||
@ -45,7 +45,7 @@ jobs:
 | 
				
			|||||||
          signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
 | 
					          signing_key: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache Bundler RubyGems
 | 
					      - name: Cache Bundler RubyGems
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
					          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
				
			||||||
          key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
					          key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/stale-issues.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/stale-issues.yml
									
									
									
									
										vendored
									
									
								
							@ -32,7 +32,7 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Mark/Close Stale Issues and Pull Requests
 | 
					      - name: Mark/Close Stale Issues and Pull Requests
 | 
				
			||||||
        uses: actions/stale@v9
 | 
					        uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
					          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
          days-before-stale: 21
 | 
					          days-before-stale: 21
 | 
				
			||||||
@ -57,7 +57,7 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests
 | 
					      - name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests
 | 
				
			||||||
        uses: actions/stale@v9
 | 
					        uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
					          repo-token: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
          days-before-stale: 2
 | 
					          days-before-stale: 2
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										12
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							@ -35,7 +35,7 @@ jobs:
 | 
				
			|||||||
          test-bot: false
 | 
					          test-bot: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache Bundler RubyGems
 | 
					      - name: Cache Bundler RubyGems
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
					          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
				
			||||||
          key: ${{ runner.os }}-rubygems-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
					          key: ${{ runner.os }}-rubygems-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
				
			||||||
@ -48,7 +48,7 @@ jobs:
 | 
				
			|||||||
        run: brew install shellcheck shfmt
 | 
					        run: brew install shellcheck shfmt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache style cache
 | 
					      - name: Cache style cache
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ~/.cache/Homebrew/style
 | 
					          path: ~/.cache/Homebrew/style
 | 
				
			||||||
          key: syntax-style-cache-${{ github.sha }}
 | 
					          key: syntax-style-cache-${{ github.sha }}
 | 
				
			||||||
@ -87,7 +87,7 @@ jobs:
 | 
				
			|||||||
          test-bot: true
 | 
					          test-bot: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache Bundler RubyGems
 | 
					      - name: Cache Bundler RubyGems
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
					          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
				
			||||||
          key: ${{ runner.os }}-rubygems-tap-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
					          key: ${{ runner.os }}-rubygems-tap-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
				
			||||||
@ -97,7 +97,7 @@ jobs:
 | 
				
			|||||||
        run: brew install-bundler-gems --groups=style
 | 
					        run: brew install-bundler-gems --groups=style
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache style cache
 | 
					      - name: Cache style cache
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ~/.cache/Homebrew/style
 | 
					          path: ~/.cache/Homebrew/style
 | 
				
			||||||
          key: tap-syntax-style-cache-${{ github.sha }}
 | 
					          key: tap-syntax-style-cache-${{ github.sha }}
 | 
				
			||||||
@ -309,7 +309,7 @@ jobs:
 | 
				
			|||||||
          test-bot: false
 | 
					          test-bot: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache Bundler RubyGems
 | 
					      - name: Cache Bundler RubyGems
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
					          path: ${{ steps.set-up-homebrew.outputs.gems-path }}
 | 
				
			||||||
          key: ${{ matrix.runs-on }}-tests-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
					          key: ${{ matrix.runs-on }}-tests-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
 | 
				
			||||||
@ -324,7 +324,7 @@ jobs:
 | 
				
			|||||||
        run: mkdir tests
 | 
					        run: mkdir tests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Cache parallel tests log
 | 
					      - name: Cache parallel tests log
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: tests
 | 
					          path: tests
 | 
				
			||||||
          key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }}
 | 
					          key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/vendor-gems.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/vendor-gems.yml
									
									
									
									
										vendored
									
									
								
							@ -98,7 +98,7 @@ jobs:
 | 
				
			|||||||
          fi
 | 
					          fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Generate push token
 | 
					      - name: Generate push token
 | 
				
			||||||
        uses: actions/create-github-app-token@v1
 | 
					        uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1
 | 
				
			||||||
        id: app-token
 | 
					        id: app-token
 | 
				
			||||||
        if: github.event_name == 'pull_request_target' || github.event_name == 'workflow_dispatch'
 | 
					        if: github.event_name == 'pull_request_target' || github.event_name == 'workflow_dispatch'
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user