Skip to content

Merge branch 'contrib/zeekforit_master' into master #8

Merge branch 'contrib/zeekforit_master' into master

Merge branch 'contrib/zeekforit_master' into master #8

Workflow file for this run

name: Autobump Version
on:
push:
branches:
- master
permissions:
pull-requests: write
contents: write
jobs:
autobump_rn_version:
runs-on: ubuntu-latest
concurrency: autobump-version
if: github.repository == 'demisto/content' && startsWith(github.head_ref, 'contrib/') == false
steps:
- name: Print out context
run: |
echo "$GITHUB_CONTEXT"
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CONTENTBOT_GH_ADMIN_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Setup Poetry
uses: Gr1N/setup-poetry@v8
- name: Install python dependencies
run: |
poetry install --with ci
- name: set pythonpath
run: |
echo "PYTHONPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
- name: Check conflicts and add release notes
env:
CONTENTBOT_GH_ADMIN_TOKEN: ${{ secrets.CONTENTBOT_GH_ADMIN_TOKEN }}
XSOAR_BOT_TEST_CONTENT: ${{ secrets.XSOAR_BOT_TEST_CONTENT }}
RUN_ID: ${{github.run_id}}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Content Bot"
echo "Someone merged to master. Starting to check if conflicts in release notes created."
poetry run python Utils/github_workflow_scripts/autobump_release_notes/autobump_rn.py -g $CONTENTBOT_GH_ADMIN_TOKEN -r $RUN_ID