Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhw authored Feb 19, 2024
1 parent 73571f8 commit 750192c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
BRANCH_NAME: ${{ github.ref_name }}
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
DEMISTO_README_VALIDATION: false
DEMISTO_SDK_GITHUB_TOKEN: ${{ secrets.DEMISTO_SDK_GITHUB_TOKEN }}
steps:
- name: XSOAR CI/CD master checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -39,9 +38,6 @@ jobs:
PACKS_CHANGED=$(python $GITHUB_WORKSPACE/build_related_scripts/get_modified_packs.py --repo_path $GITHUB_WORKSPACE/ --prev-ver ${DEFAULT_BRANCH})
echo "PACKS_CHANGED=${PACKS_CHANGED}" >> $GITHUB_ENV
echo "The current branch is ${BRANCH_NAME}"
echo "The default branch is ${DEFAULT_BRANCH}"
- name: Prepare Venv
run: |
cd $GITHUB_WORKSPACE/content/
Expand Down Expand Up @@ -84,12 +80,7 @@ jobs:
run: |
if [ $PACKS_CHANGED ]; then
source $GITHUB_WORKSPACE/content/.venv/bin/activate
cd $GITHUB_WORKSPACE/
for pack in Packs/*
do
demisto-sdk prepare-content --input $pack --output $NEW_PACKS_FOLDER
done
demisto-sdk prepare-content --input $PACKS_CHANGED --output $NEW_PACKS_FOLDER
else
echo "No packs has changed, skipping step."
fi
Expand Down

0 comments on commit 750192c

Please sign in to comment.