# Developing package CompatHelper: The requested URL returned error: 403

**URL:** <https://discourse.julialang.org/t/developing-package-compathelper-the-requested-url-returned-error-403/99881>\
**Category:** General Usage\
**Created:** [June 5, 2023, 9:35am UTC](https://discourse.julialang.org/t/developing-package-compathelper-the-requested-url-returned-error-403/99881 "2023-06-05T09:35:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KKesgin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kkesgin/32/32168_2.png) [@KKesgin](https://discourse.julialang.org/u/KKesgin)\
**Post date:** [June 5, 2023, 9:35am UTC](https://discourse.julialang.org/t/developing-package-compathelper-the-requested-url-returned-error-403/99881/1 "2023-06-05T09:35:16Z")

</div>

Hi All,

I’m trying to add a package for the general registry for a research work I’m about to publish. I tried following the guidelines for developing packages but I’ve been having numerous issues. The main one I’m stuck at now is the following error when CompatHelper is running:

remote: Permission to KaanKesgin/SST.jl.git denied to github-actions[bot].

([CompatHelper · KaanKesgin/SST.jl@a35ebdb · GitHub](https://github.com/KaanKesgin/SST.jl/actions/runs/5175291275/jobs/9322699120#step:3:65))fatal: unable to access ‘[GitHub - KaanKesgin/SST.jl: The Singular Superlet Transform (SST) is a time-frequency decomposition method based on wavelet transform that can generate highly localised spectra.](https://github.com/KaanKesgin/SST.jl.git/)’: The requested URL returned error: 403

([CompatHelper · KaanKesgin/SST.jl@a35ebdb · GitHub](https://github.com/KaanKesgin/SST.jl/actions/runs/5175291275/jobs/9322699120#step:3:66))ERROR: failed process: Process(`git -c 'user.name=CompatHelper Julia' -c user.email=compathelper_noreply@julialang.org -c 'committer.name=CompatHelper Julia' -c committer.email=compathelper_noreply@julialang.org push -f origin compathelper/new_version/2023-06-05-09-06-55-719-02639485968`, ProcessExited(128)) [128]

([CompatHelper · KaanKesgin/SST.jl@a35ebdb · GitHub](https://github.com/KaanKesgin/SST.jl/actions/runs/5175291275/jobs/9322699120#step:3:67))

Can someone with any experience with this help me please

---

<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 5, 2023, 11:29am UTC](https://discourse.julialang.org/t/developing-package-compathelper-the-requested-url-returned-error-403/99881/2 "2023-06-05T11:29:52Z")

</div>

Did you add a Github Token to be able to push? See [GitHub - JuliaRegistries/CompatHelper.jl: Automatically update the [compat] entries for your Julia package's dependencies](https://github.com/JuliaRegistries/CompatHelper.jl).

---

<div class="post-metadata">

**Author:** ![terasakisatoshi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/terasakisatoshi/32/9187_2.png) [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Post date:** [May 21, 2024, 2:43pm UTC](https://discourse.julialang.org/t/developing-package-compathelper-the-requested-url-returned-error-403/99881/3 "2024-05-21T14:43:15Z")

</div>

Hi, @KKesgin

I’d like to offer a possible solution:

## Update `CompatHelper.yml`

```yml
name: CompatHelper
on:
  schedule:
    - cron: 0 0 * * *
  workflow_dispatch:
jobs:
  CompatHelper:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write
      contents: write
    steps:
      - name: Pkg.add("CompatHelper")
        run: julia -e 'using Pkg; Pkg.add("CompatHelper")'

```

Especially, this lines are important.

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

```

See [Use GITHUB\_TOKEN for authentication in workflows - GitHub Docs](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#overview) to learn more.

## Check item `Allow GitHub Actions to create and approve pull requests`

 ![image](https://global.discourse-cdn.com/julialang/original/3X/8/b/8b06dfc1b829084e9fb885cd7aec91969a12e22f.png)

The path to access and configure your GitHub repository’s settings, specifically for GitHub Actions, is provided below:

```julia-auto
https://github.com/<repository_owner>/<repository_name>/settings/actions

```

See the following link to learn more.

> **[Preventing GitHub Actions from creating or approving pull requests - Managing...](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#preventing-github-actions-from-creating-or-approving-pull-requests)**
>
> You can disable or configure GitHub Actions for a specific repository.

> You can choose to allow or prevent GitHub Actions workflows from creating or approving pull requests.
