kinow commented on PR #2830:
URL: https://github.com/apache/jena/pull/2830#issuecomment-2466304625
> > Couldn't we either enable GH Actions just for the UI, or get Jenkins to
notify GitHub later? This way the dependabot issues could be tested
automatically there.
>
> We could though an issue with GH actions is that people who fork the repo
also get the actions and dependabot setup. I think this may have got better but
in the past they got alters and any actions triggered ... on their own account
allowances.
I think in the GH Actions you can disable that with:
```yaml
name: test
on: [push, workflow_dispatch, etc...]
jobs:
run_something:
if: github.repository == 'apache/jena'
runs-on: ubuntu-latest
steps:
- uses: action/checkout...
- ...
```
e.g.:
-
https://github.com/apache/arrow/blob/03c3f8ed41573b611c4c6dfaf1ec166a9b78decb/.github/workflows/java.yml#L101-L107
-
https://github.com/apache/echarts/blob/18f8ea3aba11bb533885d2ed3b817d8da455602a/.github/workflows/stale.yml#L14
-
https://github.com/apache/spark/blob/8f5d8d424644a62c326b0c430bd311c834236e2b/.github/workflows/build_coverage.yml#L32
-
https://github.com/apache/camel/blob/281692df4f18434116663ea89664af2b90ce0d07/.github/workflows/pr-build-main.yml#L38
>and dependabot setup
This part I think depends on your repo settings. My `kinow/jena` doesn't
have Dependabot enabled. I think I may have disabled it, but that's something
users that forked the repo can do too. A bit annoying, but at least there's a
way to disable it (could be worte :grimacing: )
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]