aneesh-joseph commented on pull request #9973:
URL: https://github.com/apache/airflow/pull/9973#issuecomment-663660743


   > Ah... It seems that PRs run from the fork do not have access to cancel the 
already running PRs :( (see the last error message)... Hmm that makes the whole 
cancel approach we have only work for master merges and direct pushes to 
v1-10-test branch :(.
   > 
   > Maybe we will have to figure out something else. I guess you cannot cancel 
running PR of yours @aneesh-joseph ? Only committers can do i t I believe?
   > 
   > ```
   > {
   >   eventName: 'pull_request',
   >   sha: 'f5cc73b67463ce2c21e74f7a11d13bc98d08f2e0',
   >   headSha: '09dff0cd3a4acac259f21785b604ce41c28f70a1',
   >   branch: 'improve-mssql-compat',
   >   owner: 'apache',
   >   repo: 'airflow'
   > }
   > Found input: 1029499
   > Found token: yes
   > Found 5 runs total.
   > Found 2 runs in progress.
   > Cancelling another run:  {
   >   id: 181255422,
   >   head_sha: '93f198dbd05927ae3e855f95cd13af5a196be190',
   >   status: 'queued'
   > }
   > Error while cancelling workflow_id 1029499: Resource not accessible by 
integration
   > Done.
   > ```
   
   oops, and yes don't seem to have access to cancel runs from my PR


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to