Skip to content

Commit

Permalink
change github owner (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Benji Visser <[email protected]>
  • Loading branch information
noqcks authored Oct 10, 2023
1 parent f1c1f97 commit 3c17fad
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-xeol-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
jobs:
upgrade-xeol:
runs-on: ubuntu-latest
if: github.repository == 'noqcks/xeol-action'
if: github.repository == 'xeol-io/xeol-action'
steps:
- uses: actions/checkout@v3
- run: |
LATEST_VERSION=$(curl "https://api.github.com/repos/noqcks/xeol/releases/latest" 2>/dev/null | jq -r '.tag_name')
LATEST_VERSION=$(curl "https://api.github.com/repos/xeol-io/xeol/releases/latest" 2>/dev/null | jq -r '.tag_name')
echo "exports.XEOL_VERSION = \"$LATEST_VERSION\";" > XeolVersion.js
npm install
npm run build
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 noqcks
Copyright (c) 2023 Xeol

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# GitHub Action for End-of-Life (EOL) Scanning

[![Test Status][test-img]][test]
[![GitHub release](https://img.shields.io/github/release/noqcks/xeol-action.svg)](https://github.com/noqcks/xeol-action/releases/latest)
[![License: MIT](https://img.shields.io/github/license/noqcks/xeol-action)](https://img.shields.io/github/license/noqcks/xeol-action)
[![GitHub release](https://img.shields.io/github/release/xeol-io/xeol-action.svg)](https://github.com/xeol-io/xeol-action/releases/latest)
[![License: MIT](https://img.shields.io/github/license/xeol-io/xeol-action)](https://img.shields.io/github/license/xeol-io/xeol-action)

:zap: _Find End-of-life (EOL) software in files or containers at lightning speed_ :zap:

![image](https://user-images.githubusercontent.com/4740147/215561344-5c5bba89-c4a4-4c72-ad71-58c48d5e41d6.png)

This is a GitHub Action for invoking the [Xeol](https://github.com/noqcks/xeol) scanner and returning the end-of-life (EOL) packages,
This is a GitHub Action for invoking the [Xeol](https://github.com/xeol-io/xeol) scanner and returning the end-of-life (EOL) packages,
and fail if an out-of-date package is found.

Use this in your workflows to quickly verify files or containers' content after a build and before pushing, allowing PRs, or deploying updates.
Expand Down Expand Up @@ -52,7 +52,7 @@ The simplest workflow for scanning a `localbuild/testimage` container:
load: true

- name: Scan image
uses: noqcks/[email protected]
uses: xeol-io/[email protected]
with:
image: "localbuild/testimage:latest"
```
Expand All @@ -63,7 +63,7 @@ To scan a directory, add the following step:
```yaml
- name: Scan current project
uses: noqcks/[email protected]
uses: xeol-io/[email protected]
with:
path: "."
```
Expand All @@ -82,7 +82,7 @@ Use the `sbom` key to scan an SBOM file:
output-file: "${{ github.event.repository.name }}-sbom.spdx.json"
- name: Scan SBOM
uses: noqcks/[email protected]
uses: xeol-io/[email protected]
with:
sbom: "${{ github.event.repository.name }}-sbom.spdx.json"
```
Expand All @@ -95,7 +95,7 @@ You change the `fail-build` field to `false` to avoid failing the build in the c

```yaml
- name: Scan image
uses: noqcks/[email protected]
uses: xeol-io/[email protected]
with:
image: "localbuild/testimage:latest"
fail-build: false
Expand Down Expand Up @@ -136,13 +136,13 @@ jobs:
- uses: actions/checkout@v2
- name: Build the container image
run: docker build . --file Dockerfile --tag localbuild/testimage:latest
- uses: noqcks/[email protected]
- uses: xeol-io/[email protected]
with:
image: "localbuild/testimage:latest"
fail-build: true
```

## noqcks/xeol-action/download-xeol
## xeol-io/xeol-action/download-xeol

A sub-action to [download Xeol](download-xeol/action.yml).

Expand All @@ -156,31 +156,31 @@ Output parameters:

| Parameter | Description |
| --------- | -------------------------------------------------------------------- |
| `cmd` | a reference to the [Xeol](https://github.com/noqcks/xeol) binary. |
| `cmd` | a reference to the [Xeol](https://github.com/xeol-io/xeol) binary. |

`cmd` can be referenced in a workflow like other output parameters:
`${{ steps.<step-id>.outputs.cmd }}`

Example usage:

```yaml
- uses: noqcks/xeol-action/download-xeol@v3
- uses: xeol-io/xeol-action/download-xeol@v3
id: xeol
- run: ${{steps.xeol.outputs.cmd}} dir:.
```

## Contributing

We love contributions, feedback, and bug reports. For issues with the invocation of this action, file [issues](https://github.com/noqcks/xeol-action/issues) in this repository.
We love contributions, feedback, and bug reports. For issues with the invocation of this action, file [issues](https://github.com/xeol-io/xeol-action/issues) in this repository.

For contributing, see [Contributing](CONTRIBUTING.md).

## More Information

For documentation on Xeol itself, including other output capabilities, see the [xeol project](https://github.com/noqcks/xeol)
For documentation on Xeol itself, including other output capabilities, see the [xeol project](https://github.com/xeol-io/xeol)

[test]: https://github.com/noqcks/xeol-action
[test-img]: https://github.com/noqcks/xeol-action/workflows/Tests/badge.svg
[test]: https://github.com/xeol-io/xeol-action
[test-img]: https://github.com/xeol-io/xeol-action/workflows/Tests/badge.svg

## Diagnostics

Expand Down
24 changes: 12 additions & 12 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const xeolBinary = "xeol";
const xeolVersion = core.getInput("xeol-version") || XEOL_VERSION;

async function downloadXeol(version) {
let url = `https://raw.githubusercontent.com/noqcks/xeol/main/install.sh`;
let url = `https://raw.githubusercontent.com/xeol-io/xeol/main/install.sh`;

core.debug(`Installing ${version}`);

Expand Down Expand Up @@ -825,8 +825,8 @@ class OidcClient {
const res = yield httpclient
.getJson(id_token_url)
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.result.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
Expand Down Expand Up @@ -6932,7 +6932,7 @@ module.exports = require("util");
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/
/******/ // The require function
/******/ function __nccwpck_require__(moduleId) {
/******/ // Check if module is in cache
Expand All @@ -6946,7 +6946,7 @@ module.exports = require("util");
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/
/******/ // Execute the module function
/******/ var threw = true;
/******/ try {
Expand All @@ -6955,23 +6955,23 @@ module.exports = require("util");
/******/ } finally {
/******/ if(threw) delete __webpack_module_cache__[moduleId];
/******/ }
/******/
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/******/
/************************************************************************/
/******/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __nccwpck_require__(2932);
/******/ module.exports = __webpack_exports__;
/******/
/******/
/******/ })()
;
;
2 changes: 1 addition & 1 deletion download-xeol/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Download Xeol"
author: "noqcks"
author: "xeol-io"
description: "Downloads the Xeol binary and provides a path to execute it"
branding:
color: blue
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const xeolBinary = "xeol";
const xeolVersion = core.getInput("xeol-version") || XEOL_VERSION;

async function downloadXeol(version) {
let url = `https://raw.githubusercontent.com/noqcks/xeol/main/install.sh`;
let url = `https://raw.githubusercontent.com/xeol-io/xeol/main/install.sh`;

core.debug(`Installing ${version}`);

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/noqcks/xeol-action.git"
"url": "git+https://github.com/xeol-io/xeol-action.git"
},
"keywords": [
"image",
"scanning"
],
"author": "noqcks",
"author": "xeol-io",
"license": "MIT",
"bugs": {
"url": "https://github.com/noqcks/xeol-action/issues"
"url": "https://github.com/xeol-io/xeol-action/issues"
},
"homepage": "https://github.com/noqcks/xeol-action#readme",
"homepage": "https://github.com/xeol-io/xeol-action#readme",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
Expand Down

0 comments on commit 3c17fad

Please sign in to comment.