Skip to content

Commit

Permalink
fix: rename mozilla org to getsops
Browse files Browse the repository at this point in the history
fixes #60
  • Loading branch information
nhedger committed Jan 3, 2025
1 parent 33a155d commit 1912bba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Integrate](https://github.com/nhedger/setup-sops/actions/workflows/integrate.yaml/badge.svg)](https://github.com/nhedger/setup-sops/actions/workflows/integrate.yaml)

**Setup SOPS** is a GitHub action that provides a cross-platform interface
for setting up [SOPS](https://github.com/mozilla/sops) in GitHub
for setting up [SOPS](https://github.com/getsops/sops) in GitHub
Actions runners.

## Inputs
Expand Down
6 changes: 3 additions & 3 deletions dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34830,12 +34830,12 @@ const findRelease = async (options) => {
try {
if (options.version === "latest") {
return (await options.octokit.repos.getLatestRelease({
owner: "mozilla",
owner: "getsops",
repo: "sops"
})).data.id;
}
return (await options.octokit.repos.getReleaseByTag({
owner: "mozilla",
owner: "getsops",
repo: "sops",
tag: `v${options.version}`
})).data.id;
Expand All @@ -34852,7 +34852,7 @@ const findRelease = async (options) => {
};
const findAsset = async (releaseId, options) => {
const assets = await options.octokit.repos.listReleaseAssets({
owner: "mozilla",
owner: "getsops",
repo: "sops",
release_id: releaseId
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"check": "biome check . --apply-unsafe",
"postinstall": "lefthook install"
},
"keywords": ["mozilla", "sops", "github-action"],
"keywords": ["getsops", "sops", "github-action"],
"author": {
"name": "Nicolas Hedger",
"email": "[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ const findRelease = async (options: SetupOptions) => {
if (options.version === "latest") {
return (
await options.octokit.repos.getLatestRelease({
owner: "mozilla",
owner: "getsops",
repo: "sops",
})
).data.id;
}

return (
await options.octokit.repos.getReleaseByTag({
owner: "mozilla",
owner: "getsops",
repo: "sops",
tag: `v${options.version}`,
})
Expand All @@ -110,7 +110,7 @@ const findRelease = async (options: SetupOptions) => {
*/
const findAsset = async (releaseId: number, options: SetupOptions) => {
const assets = await options.octokit.repos.listReleaseAssets({
owner: "mozilla",
owner: "getsops",
repo: "sops",
release_id: releaseId,
});
Expand Down

0 comments on commit 1912bba

Please sign in to comment.