File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,13 @@ name: "Cancel"
99on :
1010  push :
1111
12+ permissions :
13+   contents : read 
14+ 
1215jobs :
1316  cancel :
17+     permissions :
18+       actions : write   #  for styfle/cancel-workflow-action to cancel/stop running workflows
1419    runs-on : ubuntu-latest 
1520    steps :
1621      - name : " Cancel Previous Runs" 
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ defaults:
3232env :
3333  PIP_DISABLE_PIP_VERSION_CHECK : 1 
3434
35+ permissions :
36+   contents : read 
37+ 
3538jobs :
3639  wheels :
3740    name : " Build ${{ matrix.os }} ${{ matrix.py }} ${{ matrix.arch }} wheels" 
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ defaults:
1818env :
1919  PIP_DISABLE_PIP_VERSION_CHECK : 1 
2020
21+ permissions :
22+   contents : read 
23+ 
2124jobs :
2225  lint :
2326    name : " Pylint etc" 
Original file line number Diff line number Diff line change 1919  PIP_DISABLE_PIP_VERSION_CHECK : 1 
2020  COVERAGE_IGOR_VERBOSE : 1 
2121
22+ permissions :
23+   contents : read 
24+ 
2225jobs :
2326  tests :
2427    name : " Python ${{ matrix.python-version }} on ${{ matrix.os }}" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments