mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 14:43:51 +00:00 
			
		
		
		
	Workflow updates (#5384)
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/sync-device-classes.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/sync-device-classes.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,8 +4,7 @@ name: Synchronise Device Classes from Home Assistant | ||||
| on: | ||||
|   workflow_dispatch: | ||||
|   schedule: | ||||
|     - cron: '45 6 * * *' | ||||
|  | ||||
|     - cron: "45 6 * * *" | ||||
|  | ||||
| jobs: | ||||
|   sync: | ||||
| @@ -14,16 +13,16 @@ jobs: | ||||
|     if: github.repository == 'esphome/esphome' | ||||
|     steps: | ||||
|       - name: Checkout | ||||
|         uses: actions/checkout@v4 | ||||
|         uses: actions/checkout@v4.0.0 | ||||
|  | ||||
|       - name: Checkout Home Assistant | ||||
|         uses: actions/checkout@v4 | ||||
|         uses: actions/checkout@v4.0.0 | ||||
|         with: | ||||
|           repository: home-assistant/core | ||||
|           path: lib/home-assistant | ||||
|  | ||||
|       - name: Setup Python | ||||
|         uses: actions/setup-python@v4 | ||||
|         uses: actions/setup-python@v4.7.0 | ||||
|         with: | ||||
|           python-version: 3.11 | ||||
|  | ||||
| @@ -37,7 +36,7 @@ jobs: | ||||
|           python ./script/sync-device_class.py | ||||
|  | ||||
|       - name: Commit changes | ||||
|         uses: peter-evans/create-pull-request@v5 | ||||
|         uses: peter-evans/create-pull-request@v5.0.2 | ||||
|         with: | ||||
|           commit-message: "Synchronise Device Classes from Home Assistant" | ||||
|           committer: esphomebot <esphome@nabucasa.com> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user