Skip to content

Commit 9f40f1f

Browse files
authored
Merge pull request #24 from advanced-security/v0_1_2
feat(version): v0.1.2
2 parents 06e09d3 + 85a1721 commit 9f40f1f

File tree

6 files changed

+39
-6
lines changed

6 files changed

+39
-6
lines changed

.release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "codeql-extractor-action"
22
repository: "advanced-security/codeql-extractor-action"
3-
version: 0.1.1
3+
version: 0.1.2
44

55
ecosystems:
66
- Docs

CONTRIBUTING.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,42 @@ If you have an idea for a new feature or enhancement, please open an issue on Gi
3636

3737
- [Rust](https://www.rust-lang.org/tools/install)
3838
- [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html)
39-
- [CodeQL](https://codeql.github.com/docs/codeql-cli/getting-started/)
39+
- [CodeQL](https://codeql.github.com/docs/codeql-cli/getting-started/) (optional as the action will download it for you)
4040
- `gh-codeql` is a great tool to help you with CodeQL CLI.
4141

42+
## Local Setup
43+
44+
### Environment Variables
45+
46+
To run the action locally, you need to set up the following environment variables:
47+
48+
```env
49+
# DEBUG=1
50+
GITHUB_REPOSITORY=advanced-security/codeql-extractor-action
51+
52+
INPUT_EXTRACTORS=advanced-security/[email protected]
53+
INPUT_PACKS=advanced-security/[email protected]
54+
INPUT_LANGUAGES=iac
55+
```
56+
57+
These are the inputs to the action. You can modify them as needed.
58+
59+
### Building the Project
60+
61+
To build the project, use the following command:
62+
63+
```bash
64+
cargo build --release
65+
```
66+
67+
And to install it on the system, use:
68+
69+
```bash
70+
cargo install --path .
71+
```
72+
73+
This means it can be run from anywhere using the command `codeql-extractor-action`.
74+
4275
### Running Tests
4376

4477
To run the tests, use the following command:

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "codeql-extractor-action"
33
description = "GitHub Action for CodeQL Extractors"
4-
version = "0.1.1"
4+
version = "0.1.2"
55
authors = ["GeekMasher"]
66

77
license = "MIT"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This action is designed to be used in conjunction with the [CodeQL][CodeQL] anal
2929

3030
```yml
3131
- name: "CodeQL Extractor Action"
32-
uses: advanced-security/[email protected].1
32+
uses: advanced-security/[email protected].2
3333
with:
3434
# Repository reference (e.g. "owner/repo", "owner/repo@ref")
3535
extractor: "advanced-security/codeql-extractor-iac"

action.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM ghcr.io/advanced-security/codeql-extractor-action:v0.1.0
1+
FROM ghcr.io/advanced-security/codeql-extractor-action:v0.1.2
22

33
ENTRYPOINT [ "codeql-extractor-action" ]

0 commit comments

Comments
 (0)