Repository: hub4j/github-api
Pull request #1675 (2023-06-09 06:26:15)

CRUD repository variable
# Description

Methods to create and update repository variables:

* Create repository variable: https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#create-a-repository-variable
* Update repository variable: https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#update-a-repository-variable 
* Delete repository variable: https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#delete-a-repository-variable

# Before submitting a PR:

- [x] Changes must not break binary backwards compatibility. If you are unclear on how to make the change you think is needed while maintaining backward compatibility, [CONTRIBUTING.md](CONTRIBUTING.md) for details.
- [x] Add JavaDocs and other comments as appropriate. Consider including links in comments to relevant documentation on https://docs.github.com/en/rest .  
- [x] Add tests that cover any added or changed code. This generally requires capturing snapshot test data. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
- [x] Run `mvn -D enable-ci clean install site` locally. If this command doesn't succeed, your change will not pass CI.
- [x] Push your changes to a branch other than `main`. You will create your PR from that branch.

# When creating a PR: 

- [x] Fill in the "Description" above with clear summary of the changes. This includes:
  - [x] If this PR fixes one or more issues, include "Fixes #<issue number>" lines for each issue. 
  - [x] Provide links to relevant documentation on https://docs.github.com/en/rest where possible.
- [x] All lines of new code should be covered by tests as reported by code coverage. Any lines that are not covered must have PR comments explaining why they cannot be covered. For example, "Reaching this particular exception is hard and is not a particular common scenario."
- [x] Enable "Allow edits from maintainers".


codecov[bot]: ## [Codecov](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j) Report
Patch coverage: **`87.87`**% and project coverage change: **`+0.05`** :tada:
> Comparison is base [(`4cbae90`)](https://app.codecov.io/gh/hub4j/github-api/commit/4cbae9091856937f9b14f18a12289762b9ba1e67?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j) 79.94% compared to head [(`7f0fdd5`)](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j) 79.99%.

<details><summary>Additional details and impacted files</summary>


```diff
@@             Coverage Diff              @@
##               main    #1675      +/-   ##
============================================
+ Coverage     79.94%   79.99%   +0.05%     
- Complexity     2208     2221      +13     
============================================
  Files           212      213       +1     
  Lines          6690     6722      +32     
  Branches        364      365       +1     
============================================
+ Hits           5348     5377      +29     
- Misses         1128     1131       +3     
  Partials        214      214              
```


| [Impacted Files](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j) | Coverage Δ | |
|---|---|---|
| [.../java/org/kohsuke/github/GHRepositoryVariable.java](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j#diff-c3JjL21haW4vamF2YS9vcmcva29oc3VrZS9naXRodWIvR0hSZXBvc2l0b3J5VmFyaWFibGUuamF2YQ==) | `84.00% <82.60%> (+17.33%)` | :arrow_up: |
| [src/main/java/org/kohsuke/github/GHRepository.java](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j#diff-c3JjL21haW4vamF2YS9vcmcva29oc3VrZS9naXRodWIvR0hSZXBvc2l0b3J5LmphdmE=) | `71.85% <100.00%> (+0.12%)` | :arrow_up: |
| [...rg/kohsuke/github/GHRepositoryVariableBuilder.java](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j#diff-c3JjL21haW4vamF2YS9vcmcva29oc3VrZS9naXRodWIvR0hSZXBvc2l0b3J5VmFyaWFibGVCdWlsZGVyLmphdmE=) | `100.00% <100.00%> (ø)` | |


</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/hub4j/github-api/pull/1675?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j).   
:loudspeaker: Do you have feedback about the report comment? [Let us know in this issue](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hub4j).

garridobarrera: @bitwiseman I had a problem with this PR https://github.com/hub4j/github-api/pull/1668 and close it by error so i have opened this one.

Patch:
diff --git a/src/main/java/org/kohsuke/github/GHRepository.java b/src/main/java/org/kohsuke/github/GHRepository.java
index 7b1f4ce23..deaf4aeaf 100644
--- a/src/main/java/org/kohsuke/github/GHRepository.java
+++ b/src/main/java/org/kohsuke/github/GHRepository.java
@@ -2729,6 +2729,20 @@ public class GHRepository extends GHObject {
         return requester.withUrlPath(getApiTailUrl("readme")).fetch(GHContent.class).wrap(this);
     }
 
+    /**
+     * Create a repository variable.
+     *
+     * @param name
+     *            the variable name (e.g. test-variable)
+     * @param value
+     *            the value
+     * @throws IOException
+     *             the io exception
+     */
+    public void createVariable(String name, String value) throws IOException {
+        GHRepositoryVariable.create(this).name(name).value(value).done();
+    }
+
     /**
      * Gets a variable by name
      *
@@ -2738,10 +2752,22 @@ public class GHRepository extends GHObject {
      * @throws IOException
      *             the io exception
      */
+    @Deprecated
     public GHRepositoryVariable getRepoVariable(String name) throws IOException {
-        return root().createRequest()
-                .withUrlPath(getApiTailUrl("actions/variables"), name)
-                .fetch(GHRepositoryVariable.class);
+        return getVariable(name);
+    }
+
+    /**
+     * Gets a repository variable.
+     *
+     * @param name
+     *            the variable name (e.g. test-variable)
+     * @return the variable
+     * @throws IOException
+     *             the io exception
+     */
+    public GHRepositoryVariable getVariable(String name) throws IOException {
+        return GHRepositoryVariable.read(this, name);
     }
 
     /**
diff --git a/src/main/java/org/kohsuke/github/GHRepositoryVariable.java b/src/main/java/org/kohsuke/github/GHRepositoryVariable.java
index bc7d49a8c..cc71f38a4 100644
--- a/src/main/java/org/kohsuke/github/GHRepositoryVariable.java
+++ b/src/main/java/org/kohsuke/github/GHRepositoryVariable.java
@@ -1,16 +1,38 @@
 package org.kohsuke.github;
 
+import java.io.IOException;
+import java.util.Objects;
+
+import javax.annotation.Nonnull;
+
 /**
  * The type Gh repository variable.
  *
  * @author garridobarrera
  */
-public class GHRepositoryVariable {
+public class GHRepositoryVariable extends GitHubInteractiveObject {
+
+    private static final String SLASH = "/";
+
+    private static final String VARIABLE_NAMESPACE = "actions/variables";
+
     private String name;
     private String value;
+
+    private String url;
     private String createdAt;
     private String updatedAt;
 
+    /**
+     * Gets url.
+     *
+     * @return the url
+     */
+    @Nonnull
+    public String getUrl() {
+        return url;
+    }
+
     /**
      * Gets name.
      *
@@ -20,6 +42,16 @@ public class GHRepositoryVariable {
         return name;
     }
 
+    /**
+     * Sets name.
+     *
+     * @param name
+     *            the name
+     */
+    public void setName(String name) {
+        this.name = name;
+    }
+
     /**
      * Gets value.
      *
@@ -28,4 +60,107 @@ public class GHRepositoryVariable {
     public String getValue() {
         return value;
     }
+
+    /**
+     * Sets value.
+     *
+     * @param value
+     *            the value
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the api root.
+     *
+     * @return the api root
+     */
+    @Nonnull
+    GitHub getApiRoot() {
+        return Objects.requireNonNull(root());
+    }
+
+    /**
+     * Reads a variable from a repository.
+     *
+     * @param repository
+     *            the repository to read from
+     * @param name
+     *            the name of the variable
+     * @return a variable
+     * @throws IOException
+     *             the io exception
+     */
+    static GHRepositoryVariable read(@Nonnull GHRepository repository, @Nonnull String name) throws IOException {
+        GHRepositoryVariable variable = repository.root()
+                .createRequest()
+                .withUrlPath(repository.getApiTailUrl(VARIABLE_NAMESPACE), name)
+                .fetch(GHRepositoryVariable.class);
+        variable.url = repository.getApiTailUrl("actions/variables");
+        return variable;
+    }
+
+    /**
+     * Begins the creation of a new instance.
+     * <p>
+     * Consumer must call {@link GHRepositoryVariable.Creator#done()} to commit changes.
+     *
+     * @param repository
+     *            the repository in which the variable will be created.
+     * @return a {@link GHRepositoryVariable.Creator}
+     * @throws IOException
+     *             the io exception
+     */
+    @BetaApi
+    static GHRepositoryVariable.Creator create(GHRepository repository) throws IOException {
+        return new GHRepositoryVariable.Creator(repository);
+    }
+
+    /**
+     * Delete this variable from the repository.
+     *
+     * @throws IOException
+     *             the io exception
+     */
+    public void delete() throws IOException {
+        root().createRequest().method("DELETE").withUrlPath(getUrl().concat(SLASH).concat(name)).send();
+    }
+
+    /**
+     * Begins a single property update.
+     *
+     * @return a {@link GHRepositoryVariable.Setter}
+     */
+    @BetaApi
+    public GHRepositoryVariable.Setter set() {
+        return new GHRepositoryVariable.Setter(this);
+    }
+
+    /**
+     * A {@link GHRepositoryVariableBuilder} that updates a single property per request
+     * <p>
+     * {@link #done()} is called automatically after the property is set.
+     */
+    @BetaApi
+    public static class Setter extends GHRepositoryVariableBuilder<GHRepositoryVariable> {
+        private Setter(@Nonnull GHRepositoryVariable base) {
+            super(GHRepositoryVariable.class, base.getApiRoot(), base);
+            requester.method("PATCH").withUrlPath(base.getUrl().concat(SLASH).concat(base.getName()));
+        }
+    }
+
+    /**
+     * A {@link GHRepositoryVariableBuilder} that creates a new {@link GHRepositoryVariable}
+     * <p>
+     * Consumer must call {@link #done()} to create the new instance.
+     */
+    @BetaApi
+    public static class Creator extends GHRepositoryVariableBuilder<Creator> {
+        private Creator(@Nonnull GHRepository repository) {
+            super(GHRepositoryVariable.Creator.class, repository.root(), null);
+            requester.method("POST").withUrlPath(repository.getApiTailUrl(VARIABLE_NAMESPACE));
+        }
+    }
+
 }
diff --git a/src/main/java/org/kohsuke/github/GHRepositoryVariableBuilder.java b/src/main/java/org/kohsuke/github/GHRepositoryVariableBuilder.java
new file mode 100644
index 000000000..62af8140d
--- /dev/null
+++ b/src/main/java/org/kohsuke/github/GHRepositoryVariableBuilder.java
@@ -0,0 +1,66 @@
+package org.kohsuke.github;
+
+import java.io.IOException;
+
+import javax.annotation.CheckForNull;
+import javax.annotation.Nonnull;
+
+/**
+ * The type Gh repository variable builder.
+ *
+ * @param <S>
+ *            the type parameter
+ */
+public class GHRepositoryVariableBuilder<S> extends AbstractBuilder<GHRepositoryVariable, S> {
+    /**
+     * Instantiates a new GH Repository Variable builder.
+     *
+     * @param intermediateReturnType
+     *            Intermediate return type for this builder returned by calls to {@link #with(String, Object)}. If
+     *            {@link S} the same as {@link GHRepositoryVariable}, this builder will commit changes after each call
+     *            to {@link #with(String, Object)}.
+     * @param root
+     *            the GitHub instance to which updates will be sent
+     * @param baseInstance
+     *            instance on which to base this builder. If {@code null} a new instance will be created.
+     */
+    protected GHRepositoryVariableBuilder(@Nonnull Class<S> intermediateReturnType,
+            @Nonnull GitHub root,
+            @CheckForNull GHRepositoryVariable baseInstance) {
+        super(GHRepositoryVariable.class, intermediateReturnType, root, baseInstance);
+        if (baseInstance != null) {
+            requester.with("name", baseInstance.getName());
+            requester.with("value", baseInstance.getValue());
+        }
+    }
+
+    /**
+     * Name.
+     *
+     * @param value
+     *            the value
+     * @return the s
+     * @throws IOException
+     *             Signals that an I/O exception has occurred.
+     */
+    @Nonnull
+    @BetaApi
+    public S name(String value) throws IOException {
+        return with("name", value);
+    }
+
+    /**
+     * Name.
+     *
+     * @param value
+     *            the value
+     * @return the s
+     * @throws IOException
+     *             Signals that an I/O exception has occurred.
+     */
+    @Nonnull
+    @BetaApi
+    public S value(String value) throws IOException {
+        return with("value", value);
+    }
+}


Test patch:
diff --git a/src/test/java/org/kohsuke/github/GHRepositoryTest.java b/src/test/java/org/kohsuke/github/GHRepositoryTest.java
index da4cb57ff..d9bd5165d 100644
--- a/src/test/java/org/kohsuke/github/GHRepositoryTest.java
+++ b/src/test/java/org/kohsuke/github/GHRepositoryTest.java
@@ -2,6 +2,7 @@ package org.kohsuke.github;
 
 import com.fasterxml.jackson.databind.JsonMappingException;
 import org.apache.commons.io.IOUtils;
+import org.junit.Assert;
 import org.junit.Test;
 import org.kohsuke.github.GHCheckRun.Conclusion;
 import org.kohsuke.github.GHOrganization.RepositoryRole;
@@ -1596,6 +1597,52 @@ public class GHRepositoryTest extends AbstractGitHubWireMockTest {
     }
 
     /**
+     * Test create repo action variable.
+     *
+     * @throws IOException
+     *             the exception
+     */
+    @Test
+    public void testCreateRepoActionVariable() throws IOException {
+        GHRepository repository = getRepository();
+        repository.createVariable("MYNEWVARIABLE", "mynewvalue");
+        GHRepositoryVariable variable = repository.getVariable("mynewvariable");
+        assertThat(variable.getName(), is("MYNEWVARIABLE"));
+        assertThat(variable.getValue(), is("mynewvalue"));
+    }
+
+    /**
+     * Test update repo action variable.
+     *
+     * @throws IOException
+     *             the exception
+     */
+    @Test
+    public void testUpdateRepoActionVariable() throws IOException {
+        GHRepository repository = getRepository();
+        GHRepositoryVariable variable = repository.getVariable("MYNEWVARIABLE");
+        variable.set().value("myupdatevalue");
+        variable = repository.getVariable("MYNEWVARIABLE");
+        assertThat(variable.getValue(), is("myupdatevalue"));
+    }
+
+    /**
+     * Test delete repo action variable.
+     *
+     * @throws IOException
+     *             the exception
+     */
+    @Test
+    public void testDeleteRepoActionVariable() throws IOException {
+        GHRepository repository = getRepository();
+        GHRepositoryVariable variable = repository.getVariable("mynewvariable");
+        variable.delete();
+        Assert.assertThrows(GHFileNotFoundException.class, () -> repository.getVariable("mynewvariable"));
+    }
+
+    /**
+     * Test demoing the issue with a user having the maintain permission on a repository.
+     *
      * Test checking the permission fallback mechanism in case the Github API changes. The test was recorded at a time a
      * new permission was added by mistake. If a re-recording it is needed, you'll like have to manually edit the
      * generated mocks to get a non existing permission See
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/orgs_hub4j-test-org-2.json
new file mode 100644
index 000000000..25c602bdf
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/orgs_hub4j-test-org-2.json
@@ -0,0 +1,58 @@
+{
+  "login": "hub4j-test-org",
+  "id": 59470614,
+  "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+  "url": "https://api.github.com/orgs/hub4j-test-org",
+  "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
+  "events_url": "https://api.github.com/orgs/hub4j-test-org/events",
+  "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
+  "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
+  "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
+  "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
+  "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+  "description": null,
+  "is_verified": false,
+  "has_organization_projects": true,
+  "has_repository_projects": true,
+  "public_repos": 1,
+  "public_gists": 0,
+  "followers": 9,
+  "following": 0,
+  "html_url": "https://github.com/hub4j-test-org",
+  "created_at": "2020-01-03T09:09:41Z",
+  "updated_at": "2023-05-15T08:11:52Z",
+  "type": "Organization",
+  "total_private_repos": 1630,
+  "owned_private_repos": 1671,
+  "private_gists": 0,
+  "disk_usage": 4872624,
+  "collaborators": 75,
+  "billing_email": "garridobarrera@gmail.com",
+  "default_repository_permission": "none",
+  "members_can_create_repositories": false,
+  "two_factor_requirement_enabled": false,
+  "members_allowed_repository_creation_type": "none",
+  "members_can_create_public_repositories": false,
+  "members_can_create_private_repositories": false,
+  "members_can_create_internal_repositories": false,
+  "members_can_create_pages": true,
+  "members_can_fork_private_repositories": false,
+  "web_commit_signoff_required": false,
+  "members_can_create_public_pages": true,
+  "members_can_create_private_pages": true,
+  "plan": {
+    "name": "enterprise",
+    "space": 976562499,
+    "private_repos": 999999,
+    "filled_seats": 5153,
+    "seats": 5664
+  },
+  "advanced_security_enabled_for_new_repositories": false,
+  "dependabot_alerts_enabled_for_new_repositories": false,
+  "dependabot_security_updates_enabled_for_new_repositories": false,
+  "dependency_graph_enabled_for_new_repositories": false,
+  "secret_scanning_enabled_for_new_repositories": false,
+  "secret_scanning_push_protection_enabled_for_new_repositories": false,
+  "secret_scanning_push_protection_custom_link_enabled": false,
+  "secret_scanning_push_protection_custom_link": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
new file mode 100644
index 000000000..7aae05a54
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
@@ -0,0 +1,143 @@
+{
+  "id": 649619181,
+  "node_id": "R_kgDOJrhm7Q",
+  "name": "github-api",
+  "full_name": "hub4j-test-org/github-api",
+  "private": true,
+  "owner": {
+    "login": "hub4j-test-org",
+    "id": 59470614,
+    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+    "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/hub4j-test-org",
+    "html_url": "https://github.com/hub4j-test-org",
+    "followers_url": "https://api.github.com/users/hub4j-test-org/followers",
+    "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
+    "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
+    "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
+    "repos_url": "https://api.github.com/users/hub4j-test-org/repos",
+    "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
+    "type": "Organization",
+    "site_admin": false
+  },
+  "html_url": "https://github.com/hub4j-test-org/github-api",
+  "description": "github-api",
+  "fork": false,
+  "url": "https://api.github.com/repos/hub4j-test-org/github-api",
+  "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks",
+  "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}",
+  "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}",
+  "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams",
+  "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks",
+  "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}",
+  "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events",
+  "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}",
+  "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}",
+  "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags",
+  "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}",
+  "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}",
+  "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}",
+  "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}",
+  "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}",
+  "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages",
+  "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers",
+  "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors",
+  "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers",
+  "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription",
+  "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}",
+  "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}",
+  "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}",
+  "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}",
+  "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}",
+  "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}",
+  "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges",
+  "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}",
+  "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads",
+  "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}",
+  "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}",
+  "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}",
+  "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}",
+  "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}",
+  "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
+  "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
+  "created_at": "2023-06-05T09:18:13Z",
+  "updated_at": "2023-06-05T09:18:21Z",
+  "pushed_at": "2023-06-05T09:18:39Z",
+  "git_url": "git://github.com/hub4j-test-org/github-api.git",
+  "ssh_url": "git@github.com:hub4j-test-org/github-api.git",
+  "clone_url": "https://github.com/hub4j-test-org/github-api.git",
+  "svn_url": "https://github.com/hub4j-test-org/github-api",
+  "homepage": null,
+  "size": 7,
+  "stargazers_count": 0,
+  "watchers_count": 0,
+  "language": null,
+  "has_issues": true,
+  "has_projects": true,
+  "has_downloads": true,
+  "has_wiki": true,
+  "has_pages": false,
+  "has_discussions": false,
+  "forks_count": 0,
+  "mirror_url": null,
+  "archived": false,
+  "disabled": false,
+  "open_issues_count": 0,
+  "license": null,
+  "allow_forking": false,
+  "is_template": false,
+  "web_commit_signoff_required": false,
+  "topics": [
+    "topiclanguage"
+  ],
+  "visibility": "private",
+  "forks": 0,
+  "open_issues": 0,
+  "watchers": 0,
+  "default_branch": "develop",
+  "permissions": {
+    "admin": true,
+    "maintain": true,
+    "push": true,
+    "triage": true,
+    "pull": true
+  },
+  "temp_clone_token": "ABVSGFWK3NHJBUL36IBMZGDEPX2UC",
+  "allow_squash_merge": true,
+  "allow_merge_commit": true,
+  "allow_rebase_merge": true,
+  "allow_auto_merge": false,
+  "delete_branch_on_merge": true,
+  "allow_update_branch": false,
+  "use_squash_pr_title_as_default": false,
+  "squash_merge_commit_message": "COMMIT_MESSAGES",
+  "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+  "merge_commit_message": "PR_TITLE",
+  "merge_commit_title": "MERGE_MESSAGE",
+  "organization": {
+    "login": "hub4j-test-org",
+    "id": 59470614,
+    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+    "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/hub4j-test-org",
+    "html_url": "https://github.com/hub4j-test-org",
+    "followers_url": "https://api.github.com/users/hub4j-test-org/followers",
+    "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
+    "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
+    "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
+    "repos_url": "https://api.github.com/users/hub4j-test-org/repos",
+    "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
+    "type": "Organization",
+    "site_admin": false
+  },
+  "network_count": 0,
+  "subscribers_count": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/user-1.json
new file mode 100644
index 000000000..08775b9cd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/__files/user-1.json
@@ -0,0 +1,46 @@
+{
+  "login": "garridobarrera",
+  "id": 7021334,
+  "node_id": "MDQ6VXNlcjcwMjEzMzQ=",
+  "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4",
+  "gravatar_id": "",
+  "url": "https://api.github.com/users/garridobarrera",
+  "html_url": "https://github.com/garridobarrera",
+  "followers_url": "https://api.github.com/users/garridobarrera/followers",
+  "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}",
+  "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}",
+  "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}",
+  "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions",
+  "organizations_url": "https://api.github.com/users/garridobarrera/orgs",
+  "repos_url": "https://api.github.com/users/garridobarrera/repos",
+  "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}",
+  "received_events_url": "https://api.github.com/users/garridobarrera/received_events",
+  "type": "User",
+  "site_admin": false,
+  "name": "José Manuel Garrido Barrera",
+  "company": "personal",
+  "blog": "",
+  "location": null,
+  "email": "garridobarrera@gmail.com",
+  "hireable": null,
+  "bio": null,
+  "twitter_username": null,
+  "public_repos": 11,
+  "public_gists": 0,
+  "followers": 3,
+  "following": 3,
+  "created_at": "2014-03-21T10:37:00Z",
+  "updated_at": "2023-03-13T11:32:23Z",
+  "private_gists": 0,
+  "total_private_repos": 2,
+  "owned_private_repos": 2,
+  "disk_usage": 5935,
+  "collaborators": 1,
+  "two_factor_authentication": true,
+  "plan": {
+    "name": "free",
+    "space": 976562499,
+    "collaborators": 0,
+    "private_repos": 10000
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
new file mode 100644
index 000000000..f318bc0c9
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
@@ -0,0 +1,50 @@
+{
+  "id": "627a7493-f294-4a21-a6ef-088614dc0a2b",
+  "name": "orgs_hub4j-test-org",
+  "request": {
+    "url": "/orgs/hub4j-test-org",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "orgs_hub4j-test-org-2.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:41:25 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"",
+      "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4908",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "92",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC83:0BAC:1A459532:1A85271D:647DF414"
+    }
+  },
+  "uuid": "627a7493-f294-4a21-a6ef-088614dc0a2b",
+  "persistent": true,
+  "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
new file mode 100644
index 000000000..c053aae44
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
@@ -0,0 +1,50 @@
+{
+  "id": "587b0fb2-3a43-490f-87f3-9efbee755d6c",
+  "name": "repos_hub4j-test-org_github-api",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_hub4j-test-org_github-api-3.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:41:25 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"",
+      "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4907",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "93",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC84:10E3E:13C847C2:13FF891F:647DF415"
+    }
+  },
+  "uuid": "587b0fb2-3a43-490f-87f3-9efbee755d6c",
+  "persistent": true,
+  "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables-4.json
new file mode 100644
index 000000000..f26779ad3
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables-4.json
@@ -0,0 +1,56 @@
+{
+  "id": "d4b69248-b4cb-4f60-a649-1c78718bc875",
+  "name": "repos_hub4j-test-org_github-api_actions_variables",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables",
+    "method": "POST",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"mynewvalue\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 201,
+    "body": "{}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:41:26 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "\"6ea51f14160aa76cc240aa74ee94683a5648fedf8df8670960086d035ede1436\"",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4906",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "94",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC85:8B14:10B524FC:10E4767F:647DF415"
+    }
+  },
+  "uuid": "d4b69248-b4cb-4f60-a649-1c78718bc875",
+  "persistent": true,
+  "insertionIndex": 4
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json
new file mode 100644
index 000000000..2fe5ed18e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json
@@ -0,0 +1,49 @@
+{
+  "id": "0deec025-c7ce-4a95-863a-58c8bf52fe42",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/mynewvariable",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"mynewvalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:41:26Z\"}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:41:26 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"ce64a844db6abf4edd4b3d80a8d2a1b698a7f6b39ddd029a703ff5e74688bf50\"",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4905",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "95",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC86:50C2:1565624E:15A1C963:647DF416"
+    }
+  },
+  "uuid": "0deec025-c7ce-4a95-863a-58c8bf52fe42",
+  "persistent": true,
+  "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/user-1.json
new file mode 100644
index 000000000..b9946106e
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testCreateRepoActionVariable/mappings/user-1.json
@@ -0,0 +1,50 @@
+{
+  "id": "9ea576f1-c6ba-427c-9cb8-4cbc343db0f7",
+  "name": "user",
+  "request": {
+    "url": "/user",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "user-1.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:41:23 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"",
+      "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4910",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "90",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC81:0E02:19BD9C64:19FD2D1E:647DF413"
+    }
+  },
+  "uuid": "9ea576f1-c6ba-427c-9cb8-4cbc343db0f7",
+  "persistent": true,
+  "insertionIndex": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/orgs_hub4j-test-org-2.json
new file mode 100644
index 000000000..25c602bdf
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/orgs_hub4j-test-org-2.json
@@ -0,0 +1,58 @@
+{
+  "login": "hub4j-test-org",
+  "id": 59470614,
+  "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+  "url": "https://api.github.com/orgs/hub4j-test-org",
+  "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
+  "events_url": "https://api.github.com/orgs/hub4j-test-org/events",
+  "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
+  "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
+  "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
+  "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
+  "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+  "description": null,
+  "is_verified": false,
+  "has_organization_projects": true,
+  "has_repository_projects": true,
+  "public_repos": 1,
+  "public_gists": 0,
+  "followers": 9,
+  "following": 0,
+  "html_url": "https://github.com/hub4j-test-org",
+  "created_at": "2020-01-03T09:09:41Z",
+  "updated_at": "2023-05-15T08:11:52Z",
+  "type": "Organization",
+  "total_private_repos": 1630,
+  "owned_private_repos": 1671,
+  "private_gists": 0,
+  "disk_usage": 4872624,
+  "collaborators": 75,
+  "billing_email": "garridobarrera@gmail.com",
+  "default_repository_permission": "none",
+  "members_can_create_repositories": false,
+  "two_factor_requirement_enabled": false,
+  "members_allowed_repository_creation_type": "none",
+  "members_can_create_public_repositories": false,
+  "members_can_create_private_repositories": false,
+  "members_can_create_internal_repositories": false,
+  "members_can_create_pages": true,
+  "members_can_fork_private_repositories": false,
+  "web_commit_signoff_required": false,
+  "members_can_create_public_pages": true,
+  "members_can_create_private_pages": true,
+  "plan": {
+    "name": "enterprise",
+    "space": 976562499,
+    "private_repos": 999999,
+    "filled_seats": 5153,
+    "seats": 5664
+  },
+  "advanced_security_enabled_for_new_repositories": false,
+  "dependabot_alerts_enabled_for_new_repositories": false,
+  "dependabot_security_updates_enabled_for_new_repositories": false,
+  "dependency_graph_enabled_for_new_repositories": false,
+  "secret_scanning_enabled_for_new_repositories": false,
+  "secret_scanning_push_protection_enabled_for_new_repositories": false,
+  "secret_scanning_push_protection_custom_link_enabled": false,
+  "secret_scanning_push_protection_custom_link": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
new file mode 100644
index 000000000..e691789a9
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
@@ -0,0 +1,143 @@
+{
+  "id": 649619181,
+  "node_id": "R_kgDOJrhm7Q",
+  "name": "github-api",
+  "full_name": "hub4j-test-org/github-api",
+  "private": true,
+  "owner": {
+    "login": "hub4j-test-org",
+    "id": 59470614,
+    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+    "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/hub4j-test-org",
+    "html_url": "https://github.com/hub4j-test-org",
+    "followers_url": "https://api.github.com/users/hub4j-test-org/followers",
+    "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
+    "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
+    "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
+    "repos_url": "https://api.github.com/users/hub4j-test-org/repos",
+    "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
+    "type": "Organization",
+    "site_admin": false
+  },
+  "html_url": "https://github.com/hub4j-test-org/github-api",
+  "description": "github-api",
+  "fork": false,
+  "url": "https://api.github.com/repos/hub4j-test-org/github-api",
+  "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks",
+  "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}",
+  "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}",
+  "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams",
+  "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks",
+  "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}",
+  "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events",
+  "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}",
+  "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}",
+  "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags",
+  "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}",
+  "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}",
+  "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}",
+  "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}",
+  "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}",
+  "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages",
+  "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers",
+  "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors",
+  "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers",
+  "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription",
+  "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}",
+  "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}",
+  "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}",
+  "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}",
+  "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}",
+  "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}",
+  "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges",
+  "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}",
+  "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads",
+  "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}",
+  "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}",
+  "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}",
+  "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}",
+  "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}",
+  "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
+  "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
+  "created_at": "2023-06-05T09:18:13Z",
+  "updated_at": "2023-06-05T09:18:21Z",
+  "pushed_at": "2023-06-05T09:18:39Z",
+  "git_url": "git://github.com/hub4j-test-org/github-api.git",
+  "ssh_url": "git@github.com:hub4j-test-org/github-api.git",
+  "clone_url": "https://github.com/hub4j-test-org/github-api.git",
+  "svn_url": "https://github.com/hub4j-test-org/github-api",
+  "homepage": null,
+  "size": 7,
+  "stargazers_count": 0,
+  "watchers_count": 0,
+  "language": null,
+  "has_issues": true,
+  "has_projects": true,
+  "has_downloads": true,
+  "has_wiki": true,
+  "has_pages": false,
+  "has_discussions": false,
+  "forks_count": 0,
+  "mirror_url": null,
+  "archived": false,
+  "disabled": false,
+  "open_issues_count": 0,
+  "license": null,
+  "allow_forking": false,
+  "is_template": false,
+  "web_commit_signoff_required": false,
+  "topics": [
+    "topiclanguage"
+  ],
+  "visibility": "private",
+  "forks": 0,
+  "open_issues": 0,
+  "watchers": 0,
+  "default_branch": "develop",
+  "permissions": {
+    "admin": true,
+    "maintain": true,
+    "push": true,
+    "triage": true,
+    "pull": true
+  },
+  "temp_clone_token": "ABVSGFSU5FJS5LWWZ543MBTEPX2XS",
+  "allow_squash_merge": true,
+  "allow_merge_commit": true,
+  "allow_rebase_merge": true,
+  "allow_auto_merge": false,
+  "delete_branch_on_merge": true,
+  "allow_update_branch": false,
+  "use_squash_pr_title_as_default": false,
+  "squash_merge_commit_message": "COMMIT_MESSAGES",
+  "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+  "merge_commit_message": "PR_TITLE",
+  "merge_commit_title": "MERGE_MESSAGE",
+  "organization": {
+    "login": "hub4j-test-org",
+    "id": 59470614,
+    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+    "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/hub4j-test-org",
+    "html_url": "https://github.com/hub4j-test-org",
+    "followers_url": "https://api.github.com/users/hub4j-test-org/followers",
+    "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
+    "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
+    "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
+    "repos_url": "https://api.github.com/users/hub4j-test-org/repos",
+    "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
+    "type": "Organization",
+    "site_admin": false
+  },
+  "network_count": 0,
+  "subscribers_count": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/user-1.json
new file mode 100644
index 000000000..08775b9cd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/__files/user-1.json
@@ -0,0 +1,46 @@
+{
+  "login": "garridobarrera",
+  "id": 7021334,
+  "node_id": "MDQ6VXNlcjcwMjEzMzQ=",
+  "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4",
+  "gravatar_id": "",
+  "url": "https://api.github.com/users/garridobarrera",
+  "html_url": "https://github.com/garridobarrera",
+  "followers_url": "https://api.github.com/users/garridobarrera/followers",
+  "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}",
+  "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}",
+  "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}",
+  "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions",
+  "organizations_url": "https://api.github.com/users/garridobarrera/orgs",
+  "repos_url": "https://api.github.com/users/garridobarrera/repos",
+  "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}",
+  "received_events_url": "https://api.github.com/users/garridobarrera/received_events",
+  "type": "User",
+  "site_admin": false,
+  "name": "José Manuel Garrido Barrera",
+  "company": "personal",
+  "blog": "",
+  "location": null,
+  "email": "garridobarrera@gmail.com",
+  "hireable": null,
+  "bio": null,
+  "twitter_username": null,
+  "public_repos": 11,
+  "public_gists": 0,
+  "followers": 3,
+  "following": 3,
+  "created_at": "2014-03-21T10:37:00Z",
+  "updated_at": "2023-03-13T11:32:23Z",
+  "private_gists": 0,
+  "total_private_repos": 2,
+  "owned_private_repos": 2,
+  "disk_usage": 5935,
+  "collaborators": 1,
+  "two_factor_authentication": true,
+  "plan": {
+    "name": "free",
+    "space": 976562499,
+    "collaborators": 0,
+    "private_repos": 10000
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
new file mode 100644
index 000000000..300b6cedd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
@@ -0,0 +1,50 @@
+{
+  "id": "ae6ef016-0e7a-49a3-901b-4f2807e31e2e",
+  "name": "orgs_hub4j-test-org",
+  "request": {
+    "url": "/orgs/hub4j-test-org",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "orgs_hub4j-test-org-2.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:20 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"",
+      "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4895",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "105",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CCAF:10E3E:13C923FB:14006713:647DF44C"
+    }
+  },
+  "uuid": "ae6ef016-0e7a-49a3-901b-4f2807e31e2e",
+  "persistent": true,
+  "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
new file mode 100644
index 000000000..058b260db
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
@@ -0,0 +1,50 @@
+{
+  "id": "1fc5275c-8afb-4d1e-9e09-a627b651097f",
+  "name": "repos_hub4j-test-org_github-api",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_hub4j-test-org_github-api-3.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:21 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"",
+      "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4894",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "106",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CCB0:D7C5:EDFAFBE:F0A6BAB:647DF44C"
+    }
+  },
+  "uuid": "1fc5275c-8afb-4d1e-9e09-a627b651097f",
+  "persistent": true,
+  "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json
new file mode 100644
index 000000000..c786d63d8
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json
@@ -0,0 +1,52 @@
+{
+  "id": "d88ce739-d1f7-4a9d-9ac1-4dd8ddb5a2c9",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/mynewvariable",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"myupdatevalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:42:03Z\"}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:21 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"adc647a71f6dd424746b9f6b68580e603d95daafc4c8026c6482cd6e56e6842d\"",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4893",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "107",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CCB1:86C7:AE0F8D4:B029CE4:647DF44D"
+    }
+  },
+  "uuid": "d88ce739-d1f7-4a9d-9ac1-4dd8ddb5a2c9",
+  "persistent": true,
+  "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable-2",
+  "insertionIndex": 4
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json
new file mode 100644
index 000000000..a16c2ae5a
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json
@@ -0,0 +1,42 @@
+{
+  "id": "4258eddb-68ee-4b81-a663-ae5b1d15246d",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE",
+    "method": "DELETE",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 204,
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:22 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4892",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "108",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "Vary": "Accept-Encoding, Accept, X-Requested-With",
+      "X-GitHub-Request-Id": "CCB2:EA30:E5C990A:E860BEB:647DF44D"
+    }
+  },
+  "uuid": "4258eddb-68ee-4b81-a663-ae5b1d15246d",
+  "persistent": true,
+  "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json
new file mode 100644
index 000000000..e0ce96931
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json
@@ -0,0 +1,46 @@
+{
+  "id": "bce04a9b-5390-4605-a3c2-466516e59cce",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/mynewvariable",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 404,
+    "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/actions/variables#get-a-repository-variable\"}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:22 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4891",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "109",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "Vary": "Accept-Encoding, Accept, X-Requested-With",
+      "X-GitHub-Request-Id": "743A:8B14:10B608C0:10E55C07:647DF44E"
+    }
+  },
+  "uuid": "bce04a9b-5390-4605-a3c2-466516e59cce",
+  "persistent": true,
+  "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable",
+  "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-mynewvariable-2",
+  "insertionIndex": 6
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/user-1.json
new file mode 100644
index 000000000..b4122cfe4
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testDeleteRepoActionVariable/mappings/user-1.json
@@ -0,0 +1,50 @@
+{
+  "id": "43bf07f8-47b8-47f0-beb1-962b1a3835cc",
+  "name": "user",
+  "request": {
+    "url": "/user",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "user-1.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:19 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"",
+      "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4897",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "103",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CCAD:51B5:1633B1D5:1670787E:647DF44B"
+    }
+  },
+  "uuid": "43bf07f8-47b8-47f0-beb1-962b1a3835cc",
+  "persistent": true,
+  "insertionIndex": 1
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json
index b2cc0d92a..25c602bdf 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/orgs_hub4j-test-org-2.json
@@ -16,18 +16,18 @@
   "has_repository_projects": true,
   "public_repos": 1,
   "public_gists": 0,
-  "followers": 8,
+  "followers": 9,
   "following": 0,
   "html_url": "https://github.com/hub4j-test-org",
   "created_at": "2020-01-03T09:09:41Z",
   "updated_at": "2023-05-15T08:11:52Z",
   "type": "Organization",
-  "total_private_repos": 1534,
-  "owned_private_repos": 1574,
+  "total_private_repos": 1630,
+  "owned_private_repos": 1671,
   "private_gists": 0,
-  "disk_usage": 4263895,
-  "collaborators": 72,
-  "billing_email": "xxx@yyy.com",
+  "disk_usage": 4872624,
+  "collaborators": 75,
+  "billing_email": "garridobarrera@gmail.com",
   "default_repository_permission": "none",
   "members_can_create_repositories": false,
   "two_factor_requirement_enabled": false,
@@ -44,7 +44,7 @@
     "name": "enterprise",
     "space": 976562499,
     "private_repos": 999999,
-    "filled_seats": 5072,
+    "filled_seats": 5153,
     "seats": 5664
   },
   "advanced_security_enabled_for_new_repositories": false,
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
index b0f031435..6cb6e062c 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
@@ -1,6 +1,6 @@
 {
-  "id": 317839899,
-  "node_id": "MDEwOlJlcG9zaXRvcnkzMTc4Mzk4OTk=",
+  "id": 649619181,
+  "node_id": "R_kgDOJrhm7Q",
   "name": "github-api",
   "full_name": "hub4j-test-org/github-api",
   "private": true,
@@ -25,7 +25,7 @@
     "site_admin": false
   },
   "html_url": "https://github.com/hub4j-test-org/github-api",
-  "description": null,
+  "description": "github-api",
   "fork": false,
   "url": "https://api.github.com/repos/hub4j-test-org/github-api",
   "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks",
@@ -64,15 +64,15 @@
   "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}",
   "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
   "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
-  "created_at": "2020-12-02T11:25:38Z",
-  "updated_at": "2022-06-10T11:48:11Z",
-  "pushed_at": "2023-05-15T10:30:23Z",
+  "created_at": "2023-06-05T09:18:13Z",
+  "updated_at": "2023-06-05T09:18:21Z",
+  "pushed_at": "2023-06-05T09:18:39Z",
   "git_url": "git://github.com/hub4j-test-org/github-api.git",
   "ssh_url": "git@github.com:hub4j-test-org/github-api.git",
   "clone_url": "https://github.com/hub4j-test-org/github-api.git",
   "svn_url": "https://github.com/hub4j-test-org/github-api",
   "homepage": null,
-  "size": 15775,
+  "size": 7,
   "stargazers_count": 0,
   "watchers_count": 0,
   "language": null,
@@ -81,22 +81,24 @@
   "has_downloads": true,
   "has_wiki": true,
   "has_pages": false,
-  "has_discussions": true,
+  "has_discussions": false,
   "forks_count": 0,
   "mirror_url": null,
   "archived": false,
   "disabled": false,
-  "open_issues_count": 358,
+  "open_issues_count": 0,
   "license": null,
   "allow_forking": false,
   "is_template": false,
   "web_commit_signoff_required": false,
-  "topics": [],
+  "topics": [
+    "topiclanguage"
+  ],
   "visibility": "private",
   "forks": 0,
-  "open_issues": 358,
+  "open_issues": 0,
   "watchers": 0,
-  "default_branch": "main",
+  "default_branch": "develop",
   "permissions": {
     "admin": true,
     "maintain": true,
@@ -104,7 +106,7 @@
     "triage": true,
     "pull": true
   },
-  "temp_clone_token": "ABVSGFSHJP3EZB4Y6UK2PQLEMIMI2",
+  "temp_clone_token": "ABVSGFWHKEOHAZLNFDN2WA3EPX2PG",
   "allow_squash_merge": true,
   "allow_merge_commit": true,
   "allow_rebase_merge": true,
@@ -137,5 +139,5 @@
     "site_admin": false
   },
   "network_count": 0,
-  "subscribers_count": 5
+  "subscribers_count": 2
 }
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json
index f2304a6ed..08775b9cd 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/__files/user-1.json
@@ -28,7 +28,7 @@
   "public_repos": 11,
   "public_gists": 0,
   "followers": 3,
-  "following": 2,
+  "following": 3,
   "created_at": "2014-03-21T10:37:00Z",
   "updated_at": "2023-03-13T11:32:23Z",
   "private_gists": 0,
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
index 732de27f5..e19d1222b 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
@@ -1,5 +1,5 @@
 {
-  "id": "6831ee08-d197-4e72-b2b7-9b4c97997f3a",
+  "id": "43a649a4-f410-4d1b-8094-50fdb86d4e56",
   "name": "orgs_hub4j-test-org",
   "request": {
     "url": "/orgs/hub4j-test-org",
@@ -15,23 +15,23 @@
     "bodyFileName": "orgs_hub4j-test-org-2.json",
     "headers": {
       "Server": "GitHub.com",
-      "Date": "Mon, 15 May 2023 11:28:33 GMT",
+      "Date": "Mon, 05 Jun 2023 14:40:06 GMT",
       "Content-Type": "application/json; charset=utf-8",
       "Cache-Control": "private, max-age=60, s-maxage=60",
       "Vary": [
         "Accept, Authorization, Cookie, X-GitHub-OTP",
         "Accept-Encoding, Accept, X-Requested-With"
       ],
-      "ETag": "W/\"210fe7604fbf3cb73c20f3bc9dd95de3c73e21a0d2951bd667321d59e920633f\"",
+      "ETag": "W/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"",
       "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT",
       "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
       "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
       "X-GitHub-Media-Type": "github.v3; format=json",
       "x-github-api-version-selected": "2022-11-28",
       "X-RateLimit-Limit": "5000",
-      "X-RateLimit-Remaining": "4804",
-      "X-RateLimit-Reset": "1684151924",
-      "X-RateLimit-Used": "196",
+      "X-RateLimit-Remaining": "4913",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "87",
       "X-RateLimit-Resource": "core",
       "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
       "Access-Control-Allow-Origin": "*",
@@ -41,10 +41,10 @@
       "X-XSS-Protection": "0",
       "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
       "Content-Security-Policy": "default-src 'none'",
-      "X-GitHub-Request-Id": "F3A4:B316:162B7156:1665F336:64621760"
+      "X-GitHub-Request-Id": "CC60:2143:C603F3C:C83F892:647DF3C6"
     }
   },
-  "uuid": "6831ee08-d197-4e72-b2b7-9b4c97997f3a",
+  "uuid": "43a649a4-f410-4d1b-8094-50fdb86d4e56",
   "persistent": true,
   "insertionIndex": 2
 }
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
index d728f2e20..a94c45698 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
@@ -1,5 +1,5 @@
 {
-  "id": "d8327d74-221f-4954-87f0-5cd9330e7b64",
+  "id": "067e960b-58de-4bb3-9d66-21a3f334c523",
   "name": "repos_hub4j-test-org_github-api",
   "request": {
     "url": "/repos/hub4j-test-org/github-api",
@@ -15,23 +15,23 @@
     "bodyFileName": "repos_hub4j-test-org_github-api-3.json",
     "headers": {
       "Server": "GitHub.com",
-      "Date": "Mon, 15 May 2023 11:28:33 GMT",
+      "Date": "Mon, 05 Jun 2023 14:40:07 GMT",
       "Content-Type": "application/json; charset=utf-8",
       "Cache-Control": "private, max-age=60, s-maxage=60",
       "Vary": [
         "Accept, Authorization, Cookie, X-GitHub-OTP",
         "Accept-Encoding, Accept, X-Requested-With"
       ],
-      "ETag": "W/\"f76e5e9fb42c88f405022966a82855424f54cfc587f0cf2ef85cc4096cb78e8e\"",
-      "Last-Modified": "Fri, 10 Jun 2022 11:48:11 GMT",
+      "ETag": "W/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"",
+      "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT",
       "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
       "X-Accepted-OAuth-Scopes": "repo",
       "X-GitHub-Media-Type": "github.v3; format=json",
       "x-github-api-version-selected": "2022-11-28",
       "X-RateLimit-Limit": "5000",
-      "X-RateLimit-Remaining": "4803",
-      "X-RateLimit-Reset": "1684151924",
-      "X-RateLimit-Used": "197",
+      "X-RateLimit-Remaining": "4912",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "88",
       "X-RateLimit-Resource": "core",
       "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
       "Access-Control-Allow-Origin": "*",
@@ -41,10 +41,10 @@
       "X-XSS-Protection": "0",
       "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
       "Content-Security-Policy": "default-src 'none'",
-      "X-GitHub-Request-Id": "F3A9:7C7F:1544F22C:157B9E82:64621761"
+      "X-GitHub-Request-Id": "CC61:E303:180C3883:184BC7EE:647DF3C7"
     }
   },
-  "uuid": "d8327d74-221f-4954-87f0-5cd9330e7b64",
+  "uuid": "067e960b-58de-4bb3-9d66-21a3f334c523",
   "persistent": true,
   "insertionIndex": 3
 }
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_prueba-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_myvar-4.json
similarity index 76%
rename from src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_prueba-4.json
rename to src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_myvar-4.json
index dbd587d5d..4f06adbe8 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_prueba-4.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_myvar-4.json
@@ -1,5 +1,5 @@
 {
-  "id": "7e03568a-5a3f-45da-bd11-32da4cf63a67",
+  "id": "624eb199-1d0c-4b4c-b5c6-9cc8a918b15e",
   "name": "repos_hub4j-test-org_github-api_actions_variables_myvar",
   "request": {
     "url": "/repos/hub4j-test-org/github-api/actions/variables/myvar",
@@ -12,25 +12,25 @@
   },
   "response": {
     "status": 200,
-    "body": "{\"name\":\"myvar\",\"value\":\"this is my var value\",\"created_at\":\"2023-05-15T09:56:04Z\",\"updated_at\":\"2023-05-15T09:56:04Z\"}",
+    "body": "{\"name\":\"MYVAR\",\"value\":\"this is my var value\",\"created_at\":\"2023-06-05T13:57:01Z\",\"updated_at\":\"2023-06-05T13:57:39Z\"}",
     "headers": {
       "Server": "GitHub.com",
-      "Date": "Mon, 15 May 2023 11:28:34 GMT",
+      "Date": "Mon, 05 Jun 2023 14:40:07 GMT",
       "Content-Type": "application/json; charset=utf-8",
       "Cache-Control": "private, max-age=60, s-maxage=60",
       "Vary": [
         "Accept, Authorization, Cookie, X-GitHub-OTP",
         "Accept-Encoding, Accept, X-Requested-With"
       ],
-      "ETag": "W/\"1312302596e84f4a797e200d0161d574f7461ac91f9d6cc37157804ad0405e9b\"",
+      "ETag": "W/\"85935ba33a83ca7e6b8bcd0f53a928c40a1a61529c90b08ea3ccf368a7c8f836\"",
       "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
       "X-Accepted-OAuth-Scopes": "",
       "X-GitHub-Media-Type": "github.v3; format=json",
       "x-github-api-version-selected": "2022-11-28",
       "X-RateLimit-Limit": "5000",
-      "X-RateLimit-Remaining": "4802",
-      "X-RateLimit-Reset": "1684151924",
-      "X-RateLimit-Used": "198",
+      "X-RateLimit-Remaining": "4911",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "89",
       "X-RateLimit-Resource": "core",
       "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
       "Access-Control-Allow-Origin": "*",
@@ -40,10 +40,10 @@
       "X-XSS-Protection": "0",
       "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
       "Content-Security-Policy": "default-src 'none'",
-      "X-GitHub-Request-Id": "F3AA:B316:162B75E0:1665F7DF:64621762"
+      "X-GitHub-Request-Id": "CC62:8B14:10B3D9D6:10E328E5:647DF3C7"
     }
   },
-  "uuid": "7e03568a-5a3f-45da-bd11-32da4cf63a67",
+  "uuid": "624eb199-1d0c-4b4c-b5c6-9cc8a918b15e",
   "persistent": true,
   "insertionIndex": 4
 }
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json
index 35c87bc8b..302c6be05 100644
--- a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testRepoActionVariable/mappings/user-1.json
@@ -1,5 +1,5 @@
 {
-  "id": "696aed55-1176-4a27-9251-fb60786aafb2",
+  "id": "634f7697-2ba4-4e53-ad18-c99d2696e77d",
   "name": "user",
   "request": {
     "url": "/user",
@@ -15,23 +15,23 @@
     "bodyFileName": "user-1.json",
     "headers": {
       "Server": "GitHub.com",
-      "Date": "Mon, 15 May 2023 11:28:32 GMT",
+      "Date": "Mon, 05 Jun 2023 14:40:05 GMT",
       "Content-Type": "application/json; charset=utf-8",
       "Cache-Control": "private, max-age=60, s-maxage=60",
       "Vary": [
         "Accept, Authorization, Cookie, X-GitHub-OTP",
         "Accept-Encoding, Accept, X-Requested-With"
       ],
-      "ETag": "W/\"99e41ebc35ff32f8fecb461e9fa2493cbcac8cf66531459a23253ad761863675\"",
+      "ETag": "W/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"",
       "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT",
       "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
       "X-Accepted-OAuth-Scopes": "",
       "X-GitHub-Media-Type": "github.v3; format=json",
       "x-github-api-version-selected": "2022-11-28",
       "X-RateLimit-Limit": "5000",
-      "X-RateLimit-Remaining": "4806",
-      "X-RateLimit-Reset": "1684151924",
-      "X-RateLimit-Used": "194",
+      "X-RateLimit-Remaining": "4915",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "85",
       "X-RateLimit-Resource": "core",
       "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
       "Access-Control-Allow-Origin": "*",
@@ -41,10 +41,10 @@
       "X-XSS-Protection": "0",
       "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
       "Content-Security-Policy": "default-src 'none'",
-      "X-GitHub-Request-Id": "F39D:6AE0:E1A77FC:E42BE32:64621760"
+      "X-GitHub-Request-Id": "CC5E:51B5:163198FA:166E5B89:647DF3C5"
     }
   },
-  "uuid": "696aed55-1176-4a27-9251-fb60786aafb2",
+  "uuid": "634f7697-2ba4-4e53-ad18-c99d2696e77d",
   "persistent": true,
   "insertionIndex": 1
 }
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/orgs_hub4j-test-org-2.json
new file mode 100644
index 000000000..25c602bdf
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/orgs_hub4j-test-org-2.json
@@ -0,0 +1,58 @@
+{
+  "login": "hub4j-test-org",
+  "id": 59470614,
+  "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+  "url": "https://api.github.com/orgs/hub4j-test-org",
+  "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos",
+  "events_url": "https://api.github.com/orgs/hub4j-test-org/events",
+  "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks",
+  "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues",
+  "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}",
+  "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}",
+  "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+  "description": null,
+  "is_verified": false,
+  "has_organization_projects": true,
+  "has_repository_projects": true,
+  "public_repos": 1,
+  "public_gists": 0,
+  "followers": 9,
+  "following": 0,
+  "html_url": "https://github.com/hub4j-test-org",
+  "created_at": "2020-01-03T09:09:41Z",
+  "updated_at": "2023-05-15T08:11:52Z",
+  "type": "Organization",
+  "total_private_repos": 1630,
+  "owned_private_repos": 1671,
+  "private_gists": 0,
+  "disk_usage": 4872624,
+  "collaborators": 75,
+  "billing_email": "garridobarrera@gmail.com",
+  "default_repository_permission": "none",
+  "members_can_create_repositories": false,
+  "two_factor_requirement_enabled": false,
+  "members_allowed_repository_creation_type": "none",
+  "members_can_create_public_repositories": false,
+  "members_can_create_private_repositories": false,
+  "members_can_create_internal_repositories": false,
+  "members_can_create_pages": true,
+  "members_can_fork_private_repositories": false,
+  "web_commit_signoff_required": false,
+  "members_can_create_public_pages": true,
+  "members_can_create_private_pages": true,
+  "plan": {
+    "name": "enterprise",
+    "space": 976562499,
+    "private_repos": 999999,
+    "filled_seats": 5153,
+    "seats": 5664
+  },
+  "advanced_security_enabled_for_new_repositories": false,
+  "dependabot_alerts_enabled_for_new_repositories": false,
+  "dependabot_security_updates_enabled_for_new_repositories": false,
+  "dependency_graph_enabled_for_new_repositories": false,
+  "secret_scanning_enabled_for_new_repositories": false,
+  "secret_scanning_push_protection_enabled_for_new_repositories": false,
+  "secret_scanning_push_protection_custom_link_enabled": false,
+  "secret_scanning_push_protection_custom_link": null
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
new file mode 100644
index 000000000..3f1d4881f
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/repos_hub4j-test-org_github-api-3.json
@@ -0,0 +1,143 @@
+{
+  "id": 649619181,
+  "node_id": "R_kgDOJrhm7Q",
+  "name": "github-api",
+  "full_name": "hub4j-test-org/github-api",
+  "private": true,
+  "owner": {
+    "login": "hub4j-test-org",
+    "id": 59470614,
+    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+    "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/hub4j-test-org",
+    "html_url": "https://github.com/hub4j-test-org",
+    "followers_url": "https://api.github.com/users/hub4j-test-org/followers",
+    "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
+    "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
+    "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
+    "repos_url": "https://api.github.com/users/hub4j-test-org/repos",
+    "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
+    "type": "Organization",
+    "site_admin": false
+  },
+  "html_url": "https://github.com/hub4j-test-org/github-api",
+  "description": "github-api",
+  "fork": false,
+  "url": "https://api.github.com/repos/hub4j-test-org/github-api",
+  "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks",
+  "keys_url": "https://api.github.com/repos/hub4j-test-org/github-api/keys{/key_id}",
+  "collaborators_url": "https://api.github.com/repos/hub4j-test-org/github-api/collaborators{/collaborator}",
+  "teams_url": "https://api.github.com/repos/hub4j-test-org/github-api/teams",
+  "hooks_url": "https://api.github.com/repos/hub4j-test-org/github-api/hooks",
+  "issue_events_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/events{/number}",
+  "events_url": "https://api.github.com/repos/hub4j-test-org/github-api/events",
+  "assignees_url": "https://api.github.com/repos/hub4j-test-org/github-api/assignees{/user}",
+  "branches_url": "https://api.github.com/repos/hub4j-test-org/github-api/branches{/branch}",
+  "tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/tags",
+  "blobs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/blobs{/sha}",
+  "git_tags_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/tags{/sha}",
+  "git_refs_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/refs{/sha}",
+  "trees_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/trees{/sha}",
+  "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/{sha}",
+  "languages_url": "https://api.github.com/repos/hub4j-test-org/github-api/languages",
+  "stargazers_url": "https://api.github.com/repos/hub4j-test-org/github-api/stargazers",
+  "contributors_url": "https://api.github.com/repos/hub4j-test-org/github-api/contributors",
+  "subscribers_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscribers",
+  "subscription_url": "https://api.github.com/repos/hub4j-test-org/github-api/subscription",
+  "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/commits{/sha}",
+  "git_commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/git/commits{/sha}",
+  "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/comments{/number}",
+  "issue_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/comments{/number}",
+  "contents_url": "https://api.github.com/repos/hub4j-test-org/github-api/contents/{+path}",
+  "compare_url": "https://api.github.com/repos/hub4j-test-org/github-api/compare/{base}...{head}",
+  "merges_url": "https://api.github.com/repos/hub4j-test-org/github-api/merges",
+  "archive_url": "https://api.github.com/repos/hub4j-test-org/github-api/{archive_format}{/ref}",
+  "downloads_url": "https://api.github.com/repos/hub4j-test-org/github-api/downloads",
+  "issues_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues{/number}",
+  "pulls_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls{/number}",
+  "milestones_url": "https://api.github.com/repos/hub4j-test-org/github-api/milestones{/number}",
+  "notifications_url": "https://api.github.com/repos/hub4j-test-org/github-api/notifications{?since,all,participating}",
+  "labels_url": "https://api.github.com/repos/hub4j-test-org/github-api/labels{/name}",
+  "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}",
+  "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments",
+  "created_at": "2023-06-05T09:18:13Z",
+  "updated_at": "2023-06-05T09:18:21Z",
+  "pushed_at": "2023-06-05T09:18:39Z",
+  "git_url": "git://github.com/hub4j-test-org/github-api.git",
+  "ssh_url": "git@github.com:hub4j-test-org/github-api.git",
+  "clone_url": "https://github.com/hub4j-test-org/github-api.git",
+  "svn_url": "https://github.com/hub4j-test-org/github-api",
+  "homepage": null,
+  "size": 7,
+  "stargazers_count": 0,
+  "watchers_count": 0,
+  "language": null,
+  "has_issues": true,
+  "has_projects": true,
+  "has_downloads": true,
+  "has_wiki": true,
+  "has_pages": false,
+  "has_discussions": false,
+  "forks_count": 0,
+  "mirror_url": null,
+  "archived": false,
+  "disabled": false,
+  "open_issues_count": 0,
+  "license": null,
+  "allow_forking": false,
+  "is_template": false,
+  "web_commit_signoff_required": false,
+  "topics": [
+    "topiclanguage"
+  ],
+  "visibility": "private",
+  "forks": 0,
+  "open_issues": 0,
+  "watchers": 0,
+  "default_branch": "develop",
+  "permissions": {
+    "admin": true,
+    "maintain": true,
+    "push": true,
+    "triage": true,
+    "pull": true
+  },
+  "temp_clone_token": "ABVSGFSARH5HR7ZIAXGJ54DEPX2WM",
+  "allow_squash_merge": true,
+  "allow_merge_commit": true,
+  "allow_rebase_merge": true,
+  "allow_auto_merge": false,
+  "delete_branch_on_merge": true,
+  "allow_update_branch": false,
+  "use_squash_pr_title_as_default": false,
+  "squash_merge_commit_message": "COMMIT_MESSAGES",
+  "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
+  "merge_commit_message": "PR_TITLE",
+  "merge_commit_title": "MERGE_MESSAGE",
+  "organization": {
+    "login": "hub4j-test-org",
+    "id": 59470614,
+    "node_id": "MDEyOk9yZ2FuaXphdGlvbjU5NDcwNjE0",
+    "avatar_url": "https://avatars.githubusercontent.com/u/59470614?v=4",
+    "gravatar_id": "",
+    "url": "https://api.github.com/users/hub4j-test-org",
+    "html_url": "https://github.com/hub4j-test-org",
+    "followers_url": "https://api.github.com/users/hub4j-test-org/followers",
+    "following_url": "https://api.github.com/users/hub4j-test-org/following{/other_user}",
+    "gists_url": "https://api.github.com/users/hub4j-test-org/gists{/gist_id}",
+    "starred_url": "https://api.github.com/users/hub4j-test-org/starred{/owner}{/repo}",
+    "subscriptions_url": "https://api.github.com/users/hub4j-test-org/subscriptions",
+    "organizations_url": "https://api.github.com/users/hub4j-test-org/orgs",
+    "repos_url": "https://api.github.com/users/hub4j-test-org/repos",
+    "events_url": "https://api.github.com/users/hub4j-test-org/events{/privacy}",
+    "received_events_url": "https://api.github.com/users/hub4j-test-org/received_events",
+    "type": "Organization",
+    "site_admin": false
+  },
+  "network_count": 0,
+  "subscribers_count": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/user-1.json
new file mode 100644
index 000000000..08775b9cd
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/__files/user-1.json
@@ -0,0 +1,46 @@
+{
+  "login": "garridobarrera",
+  "id": 7021334,
+  "node_id": "MDQ6VXNlcjcwMjEzMzQ=",
+  "avatar_url": "https://avatars.githubusercontent.com/u/7021334?v=4",
+  "gravatar_id": "",
+  "url": "https://api.github.com/users/garridobarrera",
+  "html_url": "https://github.com/garridobarrera",
+  "followers_url": "https://api.github.com/users/garridobarrera/followers",
+  "following_url": "https://api.github.com/users/garridobarrera/following{/other_user}",
+  "gists_url": "https://api.github.com/users/garridobarrera/gists{/gist_id}",
+  "starred_url": "https://api.github.com/users/garridobarrera/starred{/owner}{/repo}",
+  "subscriptions_url": "https://api.github.com/users/garridobarrera/subscriptions",
+  "organizations_url": "https://api.github.com/users/garridobarrera/orgs",
+  "repos_url": "https://api.github.com/users/garridobarrera/repos",
+  "events_url": "https://api.github.com/users/garridobarrera/events{/privacy}",
+  "received_events_url": "https://api.github.com/users/garridobarrera/received_events",
+  "type": "User",
+  "site_admin": false,
+  "name": "José Manuel Garrido Barrera",
+  "company": "personal",
+  "blog": "",
+  "location": null,
+  "email": "garridobarrera@gmail.com",
+  "hireable": null,
+  "bio": null,
+  "twitter_username": null,
+  "public_repos": 11,
+  "public_gists": 0,
+  "followers": 3,
+  "following": 3,
+  "created_at": "2014-03-21T10:37:00Z",
+  "updated_at": "2023-03-13T11:32:23Z",
+  "private_gists": 0,
+  "total_private_repos": 2,
+  "owned_private_repos": 2,
+  "disk_usage": 5935,
+  "collaborators": 1,
+  "two_factor_authentication": true,
+  "plan": {
+    "name": "free",
+    "space": 976562499,
+    "collaborators": 0,
+    "private_repos": 10000
+  }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
new file mode 100644
index 000000000..86c320ea6
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/orgs_hub4j-test-org-2.json
@@ -0,0 +1,50 @@
+{
+  "id": "ec015fc5-de63-4b49-a0f1-3533fbec1304",
+  "name": "orgs_hub4j-test-org",
+  "request": {
+    "url": "/orgs/hub4j-test-org",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "orgs_hub4j-test-org-2.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:01 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"46a40cb19e416c1d2dce19a8db11c0f32801a98a0c629dfa70fd25358454e97d\"",
+      "Last-Modified": "Mon, 15 May 2023 08:11:52 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4902",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "98",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC99:62E4:1745DEC3:17857007:647DF439"
+    }
+  },
+  "uuid": "ec015fc5-de63-4b49-a0f1-3533fbec1304",
+  "persistent": true,
+  "insertionIndex": 2
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
new file mode 100644
index 000000000..fe3789678
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api-3.json
@@ -0,0 +1,50 @@
+{
+  "id": "5253ccea-04a8-46a2-81fd-f4b53a3c4239",
+  "name": "repos_hub4j-test-org_github-api",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "repos_hub4j-test-org_github-api-3.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:02 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"ad2ec095079899332f528baec4441d362d0e6e5594b29ff93423e00ce1f5350b\"",
+      "Last-Modified": "Mon, 05 Jun 2023 09:18:21 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "repo",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4901",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "99",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC9A:EA30:E5C3C98:E85AF0B:647DF439"
+    }
+  },
+  "uuid": "5253ccea-04a8-46a2-81fd-f4b53a3c4239",
+  "persistent": true,
+  "insertionIndex": 3
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json
new file mode 100644
index 000000000..979640577
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-4.json
@@ -0,0 +1,52 @@
+{
+  "id": "4ae08d81-f174-4291-90ba-3e1ddc4c7e44",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"mynewvalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:41:26Z\"}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:02 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"ce64a844db6abf4edd4b3d80a8d2a1b698a7f6b39ddd029a703ff5e74688bf50\"",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4900",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "100",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC9B:10E3E:13C8D48C:1400172D:647DF43A"
+    }
+  },
+  "uuid": "4ae08d81-f174-4291-90ba-3e1ddc4c7e44",
+  "persistent": true,
+  "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE",
+  "requiredScenarioState": "Started",
+  "newScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE-2",
+  "insertionIndex": 4
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json
new file mode 100644
index 000000000..6b4f2a0cc
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-5.json
@@ -0,0 +1,49 @@
+{
+  "id": "ddade36a-39bf-4456-a991-7bcb6e6445ab",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE",
+    "method": "PATCH",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    },
+    "bodyPatterns": [
+      {
+        "equalToJson": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"myupdatevalue\"}",
+        "ignoreArrayOrder": true,
+        "ignoreExtraElements": false
+      }
+    ]
+  },
+  "response": {
+    "status": 204,
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:03 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4899",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "101",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "Vary": "Accept-Encoding, Accept, X-Requested-With",
+      "X-GitHub-Request-Id": "CC9C:1168F:1635BE44:16732AC5:647DF43A"
+    }
+  },
+  "uuid": "ddade36a-39bf-4456-a991-7bcb6e6445ab",
+  "persistent": true,
+  "insertionIndex": 5
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json
new file mode 100644
index 000000000..76ff6a75b
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/repos_hub4j-test-org_github-api_actions_variables_mynewvariable-6.json
@@ -0,0 +1,51 @@
+{
+  "id": "a3144943-cefe-4ec1-9d88-ff2ad08ddbb5",
+  "name": "repos_hub4j-test-org_github-api_actions_variables_mynewvariable",
+  "request": {
+    "url": "/repos/hub4j-test-org/github-api/actions/variables/MYNEWVARIABLE",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "body": "{\"name\":\"MYNEWVARIABLE\",\"value\":\"myupdatevalue\",\"created_at\":\"2023-06-05T14:41:26Z\",\"updated_at\":\"2023-06-05T14:42:03Z\"}",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:03 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"adc647a71f6dd424746b9f6b68580e603d95daafc4c8026c6482cd6e56e6842d\"",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4898",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "102",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC9D:2143:C6213A1:C85D073:647DF43B"
+    }
+  },
+  "uuid": "a3144943-cefe-4ec1-9d88-ff2ad08ddbb5",
+  "persistent": true,
+  "scenarioName": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE",
+  "requiredScenarioState": "scenario-1-repos-hub4j-test-org-github-api-actions-variables-MYNEWVARIABLE-2",
+  "insertionIndex": 6
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/user-1.json
new file mode 100644
index 000000000..089f9f6cc
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHRepositoryTest/wiremock/testUpdateRepoActionVariable/mappings/user-1.json
@@ -0,0 +1,50 @@
+{
+  "id": "43b68c03-8469-4721-8370-2ddbc435ae76",
+  "name": "user",
+  "request": {
+    "url": "/user",
+    "method": "GET",
+    "headers": {
+      "Accept": {
+        "equalTo": "application/vnd.github.v3+json"
+      }
+    }
+  },
+  "response": {
+    "status": 200,
+    "bodyFileName": "user-1.json",
+    "headers": {
+      "Server": "GitHub.com",
+      "Date": "Mon, 05 Jun 2023 14:42:00 GMT",
+      "Content-Type": "application/json; charset=utf-8",
+      "Cache-Control": "private, max-age=60, s-maxage=60",
+      "Vary": [
+        "Accept, Authorization, Cookie, X-GitHub-OTP",
+        "Accept-Encoding, Accept, X-Requested-With"
+      ],
+      "ETag": "W/\"72b451bc289e83190862630ea2754b45789caedda90121a9584bce45fe6830c8\"",
+      "Last-Modified": "Mon, 13 Mar 2023 11:32:23 GMT",
+      "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages",
+      "X-Accepted-OAuth-Scopes": "",
+      "X-GitHub-Media-Type": "github.v3; format=json",
+      "x-github-api-version-selected": "2022-11-28",
+      "X-RateLimit-Limit": "5000",
+      "X-RateLimit-Remaining": "4904",
+      "X-RateLimit-Reset": "1685976900",
+      "X-RateLimit-Used": "96",
+      "X-RateLimit-Resource": "core",
+      "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset",
+      "Access-Control-Allow-Origin": "*",
+      "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
+      "X-Frame-Options": "deny",
+      "X-Content-Type-Options": "nosniff",
+      "X-XSS-Protection": "0",
+      "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
+      "Content-Security-Policy": "default-src 'none'",
+      "X-GitHub-Request-Id": "CC97:4749:B22F17B:B448F22:647DF438"
+    }
+  },
+  "uuid": "43b68c03-8469-4721-8370-2ddbc435ae76",
+  "persistent": true,
+  "insertionIndex": 1
+}
\ No newline at end of file