Skip to content

Commit

Permalink
Merge branch 'develop' into auto-ta-update-167
Browse files Browse the repository at this point in the history
  • Loading branch information
patel-bhavin authored Feb 5, 2025
2 parents 20495d6 + 70aa840 commit e3d81a7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/appinspect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ jobs:

- name: Install Python Dependencies and ContentCTL and Atomic Red Team
run: |
pip install contentctl==${{ vars.CONTENTCTL_VERSION }}
if [ -n "${{ vars.CONTENTCTL_VERSION }}" ]; then
echo "Installing contentctl version ${{ vars.CONTENTCTL_VERSION }}"
pip install contentctl==${{ vars.CONTENTCTL_VERSION }}
else
echo "Installing latest contentctl version"
pip install contentctl
fi
git clone --depth=1 --single-branch --branch=master https://github.com/redcanaryco/atomic-red-team.git external_repos/atomic-red-team
git clone --depth=1 --single-branch --branch=master https://github.com/mitre/cti external_repos/cti
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ jobs:

- name: Install Python Dependencies and ContentCTL and Atomic Red Team
run: |
echo "CONTENTCTL_VERSION is ${{ vars.CONTENTCTL_VERSION }}"
pip install contentctl==${{ vars.CONTENTCTL_VERSION }}
if [ -n "${{ vars.CONTENTCTL_VERSION }}" ]; then
echo "Installing contentctl version ${{ vars.CONTENTCTL_VERSION }}"
pip install contentctl==${{ vars.CONTENTCTL_VERSION }}
else
echo "Installing latest contentctl version"
pip install contentctl
fi
git clone --depth=1 --single-branch --branch=master https://github.com/redcanaryco/atomic-red-team.git external_repos/atomic-red-team
git clone --depth=1 --single-branch --branch=master https://github.com/mitre/cti external_repos/cti
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ jobs:
- name: Install Python Dependencies and ContentCTL
run: |
python -m pip install --upgrade pip
pip install contentctl==${{ vars.CONTENTCTL_VERSION }}
if [ -n "${{ vars.CONTENTCTL_VERSION }}" ]; then
echo "Installing contentctl version ${{ vars.CONTENTCTL_VERSION }}"
pip install contentctl==${{ vars.CONTENTCTL_VERSION }}
else
echo "Installing latest contentctl version"
pip install contentctl
fi
# Running contentctl test with a few arguments, before running the command make sure you checkout into the current branch of the pull request. This step only performs unit testing on all the changes against the target-branch. In most cases this target branch will be develop
# Make sure we check out the PR, even if it actually lives in a fork
Expand Down

0 comments on commit e3d81a7

Please sign in to comment.