# CompatHelper?

**URL:** <https://discourse.julialang.org/t/compathelper/115090>\
**Category:** New to Julia\
**Created:** [June 2, 2024, 8:41pm UTC](https://discourse.julialang.org/t/compathelper/115090 "2024-06-02T20:41:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)\
**Post date:** [June 2, 2024, 8:41pm UTC](https://discourse.julialang.org/t/compathelper/115090/1 "2024-06-02T20:41:27Z")

</div>

I’m getting [this error](https://github.com/sloisel/MultiGridBarrier.jl/actions/runs/9334429251/job/25692647148) and I have no idea what it means. What is this?

```julia
remote: Permission to sloisel/MultiGridBarrier.jl.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/sloisel/MultiGridBarrier.jl.git/': The requested URL returned error: 403

```

---

<div class="post-metadata">

**Author:** ![cgarling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cgarling/32/29278_2.png) [@cgarling](https://discourse.julialang.org/u/cgarling)\
**Post date:** [June 3, 2024, 2:38am UTC](https://discourse.julialang.org/t/compathelper/115090/2 "2024-06-03T02:38:45Z")

</div>

Permissions error could be due to lacking write permissions, see [CompatHelper.jl/.github/workflows/CompatHelper.yml at master · JuliaRegistries/CompatHelper.jl · GitHub](https://github.com/JuliaRegistries/CompatHelper.jl/blob/master/.github/workflows/CompatHelper.yml) example, specifically

```julia
permissions:
  contents: write
  pull-requests: write

```

You can also check the default permissions for actions in the repository from “Settings → Actions → General → Workflow Permissions” at the bottom.

---

<div class="post-metadata">

**Author:** ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)\
**Post date:** [June 3, 2024, 7:28am UTC](https://discourse.julialang.org/t/compathelper/115090/3 "2024-06-03T07:28:41Z")

</div>

Thanks for your reply. I’ve changed some github permissions I don’t understand and I’ll try to make it work for another couple of days but I guess if I fail, I can just turn off CompatHelper anyhow? I’m not even sure I know what it does…

---

<div class="post-metadata">

**Author:** ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)\
**Post date:** [June 3, 2024, 8:12am UTC](https://discourse.julialang.org/t/compathelper/115090/4 "2024-06-03T08:12:15Z")

</div>

OK that worked but now it says “Note: I have not tested your package with this new compat entry.  
It is your responsibility to make sure that your package tests pass before you merge this pull request.”

How do I cause github to run my tests on this PR?

Edit: here’s [one of the PRs](https://github.com/sloisel/MultiGridBarrier.jl/pull/3)

Thanks,

S

---

<div class="post-metadata">

**Author:** ![cgarling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cgarling/32/29278_2.png) [@cgarling](https://discourse.julialang.org/u/cgarling)\
**Post date:** [June 3, 2024, 11:46am UTC](https://discourse.julialang.org/t/compathelper/115090/5 "2024-06-03T11:46:55Z")

</div>

IIRC you need to have a properly configured deploy key set up in the github settings. By default github actions cannot create new actions, so compathelper cant start CI without additional setup. See section on “creating SSH key” on [Home · CompatHelper.jl](https://juliaregistries.github.io/CompatHelper.jl/dev/)

I see that you are passing your documenter key into the compathelper environment via: `COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}`  
If the documenter key is set up with a deploy key _and_ repository secret then I think this is supposed to work.

---

<div class="post-metadata">

**Author:** ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)\
**Post date:** [June 3, 2024, 12:05pm UTC](https://discourse.julialang.org/t/compathelper/115090/6 "2024-06-03T12:05:53Z")

</div>

I have a `DOCUMENTER_KEY` in my “Repository Secrets”, is that what you mean? Also I don’t know if it’s related, but the documentation seems to work on github for my project. Is that what you mean?

Edit: on my “Deploy Keys” tab, I have a “Documenter” deploy key with “read/write”.

---

<div class="post-metadata">

**Author:** ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)\
**Post date:** [June 3, 2024, 2:50pm UTC](https://discourse.julialang.org/t/compathelper/115090/7 "2024-06-03T14:50:43Z")

</div>

OK well I gave up for now. Chasing this down is not worth the effort for me…

---

<div class="post-metadata">

**Author:** ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Post date:** [June 3, 2024, 7:00pm UTC](https://discourse.julialang.org/t/compathelper/115090/8 "2024-06-03T19:00:19Z")

</div>

If you decide to try again, here is an example

> <https://github.com/JuliaManifolds/Manopt.jl/blob/master/.github/workflows/CompatHelper.yml>

I think you need both an access key as well as the GitHub token.

---

<div class="post-metadata">

**Author:** ![loisel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/loisel/32/50626_2.png) [@loisel](https://discourse.julialang.org/u/loisel)\
**Post date:** [June 4, 2024, 3:15pm UTC](https://discourse.julialang.org/t/compathelper/115090/9 "2024-06-04T15:15:38Z")

</div>

Thanks for this. I don’t know if what I had was exactly the same but I’ll look this up in the future if I want to use it again.
