Добавить .gitea/workflows/automerge-with-core.yaml
This commit is contained in:
		
							
								
								
									
										17
									
								
								.gitea/workflows/automerge-with-core.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.gitea/workflows/automerge-with-core.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | name: Merge core/template-android-project to this repo | ||||||
|  |  | ||||||
|  | run-name: Merge core/template-android-project to ${{ gitea.repository }} | ||||||
|  | on:  | ||||||
|  |   push: | ||||||
|  |   workflow_dispatch: | ||||||
|  |  | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   merge-if-needed: | ||||||
|  |     if: "!contains('core/template-android-project', '${{ gitea.repository }}')" | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     steps: | ||||||
|  |       - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." | ||||||
|  |       - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" | ||||||
|  |       - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." | ||||||
|  |       - run: echo "🍏 This job's status is ${{ job.status }}." | ||||||
		Reference in New Issue
	
	Block a user