Skip to content

Commit

Permalink
Disable actions for mirror repos (#32)
Browse files Browse the repository at this point in the history
* Disable actions for mirror repos

Signed-off-by: Thomas Neidhart <[email protected]>

* Cleanup

Signed-off-by: Thomas Neidhart <[email protected]>

---------

Signed-off-by: Thomas Neidhart <[email protected]>
  • Loading branch information
netomi authored Sep 26, 2023
1 parent 8d0b446 commit 2675d74
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions otterdog/adoptium.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ local newMirrorRepo(repoName) = orgs.newRepo(repoName) {
web_commit_signoff_required: false,
description: "This repo is an unmodified mirror of source code obtained from OpenJDK. It has been and may still be used to create builds that are untested and incompatible with the Java SE specification. You should not deploy or write to this code, but instead use the tested and certified Java SE compatible version that is available at https://adoptium.net.",
workflows+: {
default_workflow_permissions: "write",
enabled: false,
},
};

Expand Down Expand Up @@ -191,8 +191,7 @@ orgs.newOrg('adoptium') {
},
],
},
newMirrorRepo('alpine-jdk8u') {
},
newMirrorRepo('alpine-jdk8u') {},
orgs.newRepo('api.adoptium.net') {
allow_merge_commit: true,
allow_squash_merge: false,
Expand Down Expand Up @@ -629,35 +628,26 @@ orgs.newOrg('adoptium') {
default_workflow_permissions: "write",
}
},
newMirrorRepo('jdk16u') {
},
newMirrorRepo('jdk16u') {},
newMirrorRepo('jdk17') {
archived: true,
},
newMirrorRepo('jdk17u') {
},
newMirrorRepo('jdk17u') {},
newMirrorRepo('jdk18') {
archived: true,
},
newMirrorRepo('jdk18u') {
},
newMirrorRepo('jdk18u') {},
newMirrorRepo('jdk19') {
archived: true,
},
newMirrorRepo('jdk19u') {
default_branch: "dev",
},
newMirrorRepo('jdk19u') {},
newMirrorRepo('jdk20') {
archived: true,
},
newMirrorRepo('jdk20u') {
},
newMirrorRepo('jdk21') {
},
newMirrorRepo('jdk21u') {
},
newMirrorRepo('jdk8u') {
},
newMirrorRepo('jdk20u') {},
newMirrorRepo('jdk21') {},
newMirrorRepo('jdk21u') {},
newMirrorRepo('jdk8u') {},
newMirrorRepo('jdk8u_hg') {
archived: true,
},
Expand Down

0 comments on commit 2675d74

Please sign in to comment.