forked from mirrors/amnezia-wg-easy
		
	CI: restrict workflows to only run on owner repository
This commit is contained in:
		
							parent
							
								
									d0e0e6a415
								
							
						
					
					
						commit
						6788d98d9d
					
				
					 7 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								.github/workflows/codeql.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/codeql.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -12,6 +12,7 @@ jobs:
 | 
				
			||||||
  analyze:
 | 
					  analyze:
 | 
				
			||||||
    name: Analyze
 | 
					    name: Analyze
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
      actions: read
 | 
					      actions: read
 | 
				
			||||||
      contents: read
 | 
					      contents: read
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/deploy-development.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/deploy-development.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -7,6 +7,7 @@ jobs:
 | 
				
			||||||
  deploy:
 | 
					  deploy:
 | 
				
			||||||
    name: Build & Deploy
 | 
					    name: Build & Deploy
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
      packages: write
 | 
					      packages: write
 | 
				
			||||||
      contents: read
 | 
					      contents: read
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/deploy-nightly.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/deploy-nightly.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -9,6 +9,7 @@ jobs:
 | 
				
			||||||
  deploy:
 | 
					  deploy:
 | 
				
			||||||
    name: Build & Deploy
 | 
					    name: Build & Deploy
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
      packages: write
 | 
					      packages: write
 | 
				
			||||||
      contents: read
 | 
					      contents: read
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/deploy.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/deploy.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -10,6 +10,7 @@ jobs:
 | 
				
			||||||
  deploy:
 | 
					  deploy:
 | 
				
			||||||
    name: Build & Deploy
 | 
					    name: Build & Deploy
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
      packages: write
 | 
					      packages: write
 | 
				
			||||||
      contents: read
 | 
					      contents: read
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -11,6 +11,7 @@ jobs:
 | 
				
			||||||
  lint:
 | 
					  lint:
 | 
				
			||||||
    name: Lint
 | 
					    name: Lint
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -10,6 +10,7 @@ jobs:
 | 
				
			||||||
  npmupbot:
 | 
					  npmupbot:
 | 
				
			||||||
    name: NPM Update Bot 🤖
 | 
					    name: NPM Update Bot 🤖
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								.github/workflows/stale.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/stale.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -14,6 +14,7 @@ jobs:
 | 
				
			||||||
  stale:
 | 
					  stale:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    if: github.repository_owner == 'wg-easy'
 | 
				
			||||||
    permissions:
 | 
					    permissions:
 | 
				
			||||||
      issues: write
 | 
					      issues: write
 | 
				
			||||||
      pull-requests: write
 | 
					      pull-requests: write
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue