[ 
https://issues.apache.org/jira/browse/HADOOP-19965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107543#comment-18107543
 ] 

ASF GitHub Bot commented on HADOOP-19965:
-----------------------------------------

steveloughran opened a new pull request, #8702:
URL: https://github.com/apache/hadoop/pull/8702

   
   ### Description of PR
   
   shuts down build status run on forks
   
   ### How was this patch tested?
   
   pushed it up as trunk to my own repo to see what happens
   
   ### For code changes:
   
   - [ ] Does the title of this PR start with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: Have the integration tests been executed and the 
endpoint
         declared according to the connector-specific documentation? *Note: 
Automated CI
         testing doesn't cover all cases so manual testing with cloud storage 
is still
         required.*
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   ### AI Tooling
   
   If an AI tool was used:
   
   - [ ] The PR includes the phrase "Contains content generated by <tool>"
         where <tool> is the name of the AI tool used.
   - [ ] My use of AI contributions follows the ASF legal policy
         https://www.apache.org/legal/generative-tooling.html
   




> GHA update build status runs in forked repos fails, floods inboxes
> ------------------------------------------------------------------
>
>                 Key: HADOOP-19965
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19965
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, ci
>    Affects Versions: 3.6.0
>            Reporter: Steve Loughran
>            Assignee: Aaron Fabbri
>            Priority: Minor
>
> My github inbox is flooded with error messages from the 
> .github/workflows/update_build_status.yml job which is being run every 15 
> minutes on my fork of the apache repo as I've pushed a copy of the trunk 
> branch up there.
> It's failing as I have no PRs. otherwise it'd just be wasting my GHA minutes.
> Proposed: this doesn't run on forks.
> {code}
> GET /repos/steveloughran/hadoop/pulls?state=open - 404 with id 
> 0E80:6034E:2522EC:7B792A:6A80951B in 179ms
> RequestError [HttpError]: Not Found - 
> https://docs.github.com/rest/pulls/pulls#list-pull-requests
>     at fetchWrapper 
> (/home/runner/work/_actions/actions/github-script/v9/dist/index.js:61509:11)
>     at process.processTicksAndRejections 
> (node:internal/process/task_queues:104:5)
>     at async Object.next 
> (/home/runner/work/_actions/actions/github-script/v9/dist/index.js:64409:28)
>     at async eval (eval at callAsyncFunction 
> (/home/runner/work/_actions/actions/github-script/v9/dist/index.js:64949:16), 
> <anonymous>:14:18)
>     at async main 
> (/home/runner/work/_actions/actions/github-script/v9/dist/index.js:65100:20) {
>   status: 404,
>   request: {
>     method: 'GET',
>     url: 'https://api.github.com/repos/steveloughran/hadoop/pulls?state=open',
>     headers: {
>       accept: 'application/vnd.github.v3+json',
>       'user-agent': 'actions/github-script 
> actions_orchestration_id/fb6b6cb8-c020-4b93-bc8d-fe128c5a67e0.update.__default
>  octokit-core.js/7.0.6 Node.js/24',
>       authorization: 'bearer [REDACTED]'
>     },
>     request: {
>       agent: [Agent],
>       fetch: [Function: proxyFetch],
>       hook: [Function: bound bound register]
>     }
>   },
>   response: {
>     url: 'https://api.github.com/repos/steveloughran/hadoop/pulls?state=open',
>     status: 404,
>     headers: {
> ...
>     },
>     data: {
>       message: 'Not Found',
>       documentation_url: 
> 'https://docs.github.com/rest/pulls/pulls#list-pull-requests',
>       status: '404'
>     }
>   },
>   [cause]: undefined
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to