From 6d262040a4416ccdd8dbdf7a27945f5663327fe0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 11 Aug 2024 23:13:57 -0400 Subject: [PATCH 1/5] allow version updater to trigger tests --- .github/workflows/version_updater.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/version_updater.yaml b/.github/workflows/version_updater.yaml index 4ffebef35..3a67e0c3f 100644 --- a/.github/workflows/version_updater.yaml +++ b/.github/workflows/version_updater.yaml @@ -44,7 +44,7 @@ jobs: if: steps.update-version.outcome == 'success' uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }} commit-message: "Update nuclei" title: "Update nuclei to ${{ env.latest_version }}" body: | @@ -94,7 +94,7 @@ jobs: if: steps.update-version.outcome == 'success' uses: peter-evans/create-pull-request@v5 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }} commit-message: "Update trufflehog" title: "Update trufflehog to ${{ env.latest_version }}" body: | From 2df980aa7a78a69674f191878ab316c522d9728c Mon Sep 17 00:00:00 2001 From: Dom Whewell Date: Wed, 14 Aug 2024 12:30:06 +0100 Subject: [PATCH 2/5] Tagged modules with `code-enum` --- bbot/modules/docker_pull.py | 2 +- bbot/modules/git_clone.py | 2 +- bbot/modules/github_workflows.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bbot/modules/docker_pull.py b/bbot/modules/docker_pull.py index 987651fcd..0d1f63c29 100644 --- a/bbot/modules/docker_pull.py +++ b/bbot/modules/docker_pull.py @@ -8,7 +8,7 @@ class docker_pull(BaseModule): watched_events = ["CODE_REPOSITORY"] produced_events = ["FILESYSTEM"] - flags = ["passive", "safe", "slow"] + flags = ["passive", "safe", "slow", "code-enum"] meta = { "description": "Download images from a docker repository", "created_date": "2024-03-24", diff --git a/bbot/modules/git_clone.py b/bbot/modules/git_clone.py index 6cda79f9d..dbf24e91e 100644 --- a/bbot/modules/git_clone.py +++ b/bbot/modules/git_clone.py @@ -6,7 +6,7 @@ class git_clone(github): watched_events = ["CODE_REPOSITORY"] produced_events = ["FILESYSTEM"] - flags = ["passive", "safe", "slow"] + flags = ["passive", "safe", "slow", "code-enum"] meta = { "description": "Clone code github repositories", "created_date": "2024-03-08", diff --git a/bbot/modules/github_workflows.py b/bbot/modules/github_workflows.py index 15767ca63..d51da905e 100644 --- a/bbot/modules/github_workflows.py +++ b/bbot/modules/github_workflows.py @@ -7,7 +7,7 @@ class github_workflows(github): watched_events = ["CODE_REPOSITORY"] produced_events = ["FILESYSTEM"] - flags = ["passive", "safe"] + flags = ["passive", "safe", "code-enum"] meta = { "description": "Download a github repositories workflow logs", "created_date": "2024-04-29", From fbf1a0f44659f4e54f0adc91450e8f8c2b166833 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Aug 2024 01:23:50 -0400 Subject: [PATCH 3/5] pin unstructured version --- bbot/modules/unstructured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 4143ea2fd..25ae307bf 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -67,7 +67,7 @@ class unstructured(BaseModule): } deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] - deps_pip = ["unstructured[all-docs]"] + deps_pip = ["git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"] async def setup(self): self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])])) From 5ce846fd6777e9ba492c87f7e713fa43f11c02ae Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 15 Aug 2024 01:37:29 -0400 Subject: [PATCH 4/5] blacked --- bbot/modules/unstructured.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 25ae307bf..7277f40d1 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -67,7 +67,9 @@ class unstructured(BaseModule): } deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] - deps_pip = ["git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]"] + deps_pip = [ + "git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]" + ] async def setup(self): self.extensions = list(set([e.lower().strip(".") for e in self.config.get("extensions", [])])) From c39d56110f37a1634804d812cd3c41f315fc589f Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 16 Aug 2024 00:44:05 -0400 Subject: [PATCH 5/5] new commit hash --- bbot/modules/unstructured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/modules/unstructured.py b/bbot/modules/unstructured.py index 7277f40d1..31d0a96ee 100644 --- a/bbot/modules/unstructured.py +++ b/bbot/modules/unstructured.py @@ -68,7 +68,7 @@ class unstructured(BaseModule): deps_apt = ["libmagic-dev", "poppler-utils", "tesseract-ocr", "libreoffice", "pandoc"] deps_pip = [ - "git+https://github.com/Unstructured-IO/unstructured@9b778e270dd8547476370a9417520679cd46c802#egg=unstructured[all-docs]" + "git+https://github.com/Unstructured-IO/unstructured@d0211cc41faa3988b0cfdefa3e0a8f80adbf013b#egg=unstructured[all-docs]" ] async def setup(self):