Skip to content

Xsup 42432 snow auth issue (#37025) #5402

Xsup 42432 snow auth issue (#37025)

Xsup 42432 snow auth issue (#37025) #5402

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@v5
with:
python-version: "3.10"
- 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 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 .github/github_workflow_scripts/autobump_rn.py -g $CONTENTBOT_GH_ADMIN_TOKEN -r $RUN_ID