Skip to content

[IDEV-2393-2394-894] enhancement(DomainTools Iris): Added new app configurations #1

[IDEV-2393-2394-894] enhancement(DomainTools Iris): Added new app configurations

[IDEV-2393-2394-894] enhancement(DomainTools Iris): Added new app configurations #1

name: supported-modules-approved label verification
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
permissions:
contents: read
jobs:
check_supported_modules_approved_label_job:
runs-on: ubuntu-latest
if: github.repository == 'demisto/content'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10" # The Python version set here is the minimum supported by content, if you change it here, please change all the places containing this comment.
- name: Setup Poetry
uses: Gr1N/setup-poetry@v9
- name: Install python dependencies
run: |
poetry install --with github-actions
- name: set pythonpath
run: |
echo "PYTHONPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
- name: Check if supported-modules-approved label exists
id: check_label
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Checking label supported-modules-approved for: $PR_NUMBER"
cd .github/github_workflow_scripts
poetry run python check_if_supported_modules_approved_label_exists.py --pr_number $PR_NUMBER --github_token $GITHUB_TOKEN