mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-30 23:10:31 +00:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			v3.5.0
			...
			fhammerl/b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 6f6aa33e7a | 
							
								
								
									
										4
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							| @@ -42,7 +42,7 @@ jobs: | |||||||
|       uses: actions/checkout@v3 |       uses: actions/checkout@v3 | ||||||
|  |  | ||||||
|     - name: Initialize CodeQL |     - name: Initialize CodeQL | ||||||
|       uses: github/codeql-action/init@v2 |       uses: github/codeql-action/init@v1 | ||||||
|       with: |       with: | ||||||
|         languages: ${{ matrix.language }} |         languages: ${{ matrix.language }} | ||||||
|         # If you wish to specify custom queries, you can do so here or in a config file. |         # If you wish to specify custom queries, you can do so here or in a config file. | ||||||
| @@ -55,4 +55,4 @@ jobs: | |||||||
|     - run: rm -rf dist # We want code scanning to analyze lib instead (individual .js files) |     - run: rm -rf dist # We want code scanning to analyze lib instead (individual .js files) | ||||||
|  |  | ||||||
|     - name: Perform CodeQL Analysis |     - name: Perform CodeQL Analysis | ||||||
|       uses: github/codeql-action/analyze@v2 |       uses: github/codeql-action/analyze@v1 | ||||||
|   | |||||||
							
								
								
									
										11
									
								
								.github/workflows/update-main-version.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/update-main-version.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +1,5 @@ | |||||||
| name: Update Main Version | name: Update Main Version | ||||||
| run-name: Move ${{ github.event.inputs.major_version }} to ${{ github.event.inputs.target }} | run-name: Move ${{ github.event.inputs.main_version }} to ${{ github.event.inputs.target }} | ||||||
|  |  | ||||||
| on: | on: | ||||||
|   workflow_dispatch: |   workflow_dispatch: | ||||||
| @@ -7,12 +7,11 @@ on: | |||||||
|       target: |       target: | ||||||
|         description: The tag or reference to use |         description: The tag or reference to use | ||||||
|         required: true |         required: true | ||||||
|       major_version: |       main_version: | ||||||
|         type: choice |         type: choice | ||||||
|         description: The major version to update |         description: The main version to update | ||||||
|         options: |         options: | ||||||
|           - v3 |           - v3 | ||||||
|           - v2 |  | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   tag: |   tag: | ||||||
| @@ -26,6 +25,6 @@ jobs: | |||||||
|         git config user.name github-actions |         git config user.name github-actions | ||||||
|         git config user.email github-actions@github.com |         git config user.email github-actions@github.com | ||||||
|     - name: Tag new target |     - name: Tag new target | ||||||
|       run: git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }} |       run: git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }} | ||||||
|     - name: Push new tag |     - name: Push new tag | ||||||
|       run: git push origin ${{ github.event.inputs.major_version }} --force |       run: git push origin ${{ github.event.inputs.main_version }} --force | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.licenses/npm/@actions/io.dep.yml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								.licenses/npm/@actions/io.dep.yml
									
									
									
										generated
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| --- | --- | ||||||
| name: "@actions/io" | name: "@actions/io" | ||||||
| version: 1.1.3 | version: 1.1.2 | ||||||
| type: npm | type: npm | ||||||
| summary: Actions io lib | summary: Actions io lib | ||||||
| homepage: https://github.com/actions/toolkit/tree/main/packages/io | homepage: https://github.com/actions/toolkit/tree/main/packages/io | ||||||
|   | |||||||
							
								
								
									
										18
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -1,23 +1,5 @@ | |||||||
| # Changelog | # Changelog | ||||||
|  |  | ||||||
| ## v3.4.0 |  | ||||||
| - [Upgrade codeql actions to v2](https://github.com/actions/checkout/pull/1209) |  | ||||||
| - [Upgrade dependencies](https://github.com/actions/checkout/pull/1210) |  | ||||||
| - [Upgrade @actions/io](https://github.com/actions/checkout/pull/1225) |  | ||||||
|  |  | ||||||
| ## v3.3.0 |  | ||||||
| - [Implement branch list using callbacks from exec function](https://github.com/actions/checkout/pull/1045) |  | ||||||
| - [Add in explicit reference to private checkout options](https://github.com/actions/checkout/pull/1050) |  | ||||||
| - [Fix comment typos (that got added in #770)](https://github.com/actions/checkout/pull/1057) |  | ||||||
|  |  | ||||||
| ## v3.2.0 |  | ||||||
| - [Add GitHub Action to perform release](https://github.com/actions/checkout/pull/942) |  | ||||||
| - [Fix status badge](https://github.com/actions/checkout/pull/967) |  | ||||||
| - [Replace datadog/squid with ubuntu/squid Docker image](https://github.com/actions/checkout/pull/1002) |  | ||||||
| - [Wrap pipeline commands for submoduleForeach in quotes](https://github.com/actions/checkout/pull/964) |  | ||||||
| - [Update @actions/io to 1.1.2](https://github.com/actions/checkout/pull/1029) |  | ||||||
| - [Upgrading version to 3.2.0](https://github.com/actions/checkout/pull/1039) |  | ||||||
|  |  | ||||||
| ## v3.1.0 | ## v3.1.0 | ||||||
| - [Use @actions/core `saveState` and `getState`](https://github.com/actions/checkout/pull/939) | - [Use @actions/core `saveState` and `getState`](https://github.com/actions/checkout/pull/939) | ||||||
| - [Add `github-server-url` input](https://github.com/actions/checkout/pull/922) | - [Add `github-server-url` input](https://github.com/actions/checkout/pull/922) | ||||||
|   | |||||||
							
								
								
									
										36158
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										36158
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										1033
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1033
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -30,9 +30,9 @@ | |||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@actions/core": "^1.10.0", |     "@actions/core": "^1.10.0", | ||||||
|     "@actions/exec": "^1.0.1", |     "@actions/exec": "^1.0.1", | ||||||
|     "@actions/github": "^2.2.0", |     "@actions/github": "^5.0.0", | ||||||
|     "@actions/io": "^1.1.3", |     "@actions/io": "^1.1.2", | ||||||
|     "@actions/tool-cache": "^1.1.2", |     "@actions/tool-cache": "^2.0.0", | ||||||
|     "uuid": "^3.3.3" |     "uuid": "^3.3.3" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
| @@ -41,7 +41,7 @@ | |||||||
|     "@types/uuid": "^3.4.6", |     "@types/uuid": "^3.4.6", | ||||||
|     "@typescript-eslint/eslint-plugin": "^5.45.0", |     "@typescript-eslint/eslint-plugin": "^5.45.0", | ||||||
|     "@typescript-eslint/parser": "^5.45.0", |     "@typescript-eslint/parser": "^5.45.0", | ||||||
|     "@vercel/ncc": "^0.36.1", |     "@zeit/ncc": "^0.20.5", | ||||||
|     "eslint": "^7.32.0", |     "eslint": "^7.32.0", | ||||||
|     "eslint-plugin-github": "^4.3.2", |     "eslint-plugin-github": "^4.3.2", | ||||||
|     "eslint-plugin-jest": "^25.7.0", |     "eslint-plugin-jest": "^25.7.0", | ||||||
|   | |||||||
| @@ -247,7 +247,7 @@ class GitAuthHelper { | |||||||
|     if (this.settings.sshKnownHosts) { |     if (this.settings.sshKnownHosts) { | ||||||
|       knownHosts += `# Begin from input known hosts\n${this.settings.sshKnownHosts}\n# end from input known hosts\n` |       knownHosts += `# Begin from input known hosts\n${this.settings.sshKnownHosts}\n# end from input known hosts\n` | ||||||
|     } |     } | ||||||
|     knownHosts += `# Begin implicitly added github.com\ngithub.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=\n# End implicitly added github.com\n` |     knownHosts += `# Begin implicitly added github.com\ngithub.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\n# End implicitly added github.com\n` | ||||||
|     this.sshKnownHostsPath = path.join(runnerTemp, `${uniqueId}_known_hosts`) |     this.sshKnownHostsPath = path.join(runnerTemp, `${uniqueId}_known_hosts`) | ||||||
|     stateHelper.setSshKnownHostsPath(this.sshKnownHostsPath) |     stateHelper.setSshKnownHostsPath(this.sshKnownHostsPath) | ||||||
|     await fs.promises.writeFile(this.sshKnownHostsPath, knownHosts) |     await fs.promises.writeFile(this.sshKnownHostsPath, knownHosts) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user