mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 04:18:52 +08:00 
			
		
		
		
	feat: add harden runner in audit mode to critical workflows (#10798)
Ref: https://github.com/NativeScript/nativescript-cli/pull/5856
This commit is contained in:
		
							
								
								
									
										5
									
								
								.github/workflows/npm_release_core.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/npm_release_core.yml
									
									
									
									
										vendored
									
									
								
							@ -19,6 +19,11 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Harden the runner (Audit all outbound calls)
 | 
			
		||||
        uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
 | 
			
		||||
        with:
 | 
			
		||||
          egress-policy: audit
 | 
			
		||||
 | 
			
		||||
      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
 | 
			
		||||
 | 
			
		||||
      - name: Setup
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								.github/workflows/npm_release_tns_core.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/npm_release_tns_core.yml
									
									
									
									
										vendored
									
									
								
							@ -18,6 +18,11 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Harden the runner (Audit all outbound calls)
 | 
			
		||||
        uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
 | 
			
		||||
        with:
 | 
			
		||||
          egress-policy: audit
 | 
			
		||||
 | 
			
		||||
      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
 | 
			
		||||
 | 
			
		||||
      - name: Setup
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								.github/workflows/npm_release_types.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/npm_release_types.yml
									
									
									
									
										vendored
									
									
								
							@ -18,6 +18,11 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Harden the runner (Audit all outbound calls)
 | 
			
		||||
        uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
 | 
			
		||||
        with:
 | 
			
		||||
          egress-policy: audit
 | 
			
		||||
 | 
			
		||||
      - name: Todo
 | 
			
		||||
        run: |
 | 
			
		||||
          echo "TODO: implement action"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										5
									
								
								.github/workflows/npm_release_webpack.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/npm_release_webpack.yml
									
									
									
									
										vendored
									
									
								
							@ -17,6 +17,11 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Harden the runner (Audit all outbound calls)
 | 
			
		||||
        uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
 | 
			
		||||
        with:
 | 
			
		||||
          egress-policy: audit
 | 
			
		||||
 | 
			
		||||
      - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
 | 
			
		||||
 | 
			
		||||
      - name: Setup
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user