Skip to content

[SVLS-4918] refactor tracer version updaters in terms of a python script #2

[SVLS-4918] refactor tracer version updaters in terms of a python script

[SVLS-4918] refactor tracer version updaters in terms of a python script #2

name: Update Version for the Python Tracer
on:
# schedule:
# - cron: '0 14 * * *' # 2:00 PM UTC which is morning in New York
push:
jobs:
bump_version:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Modify build-packages
id: version
run: |
python .github/workflows/datadog_wrapper_tracer_update.py --tracer python
- name: Create Pull Request
id: pr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: "python-tracer-version-bump"
commit-message: "${{steps.version.outputs.pr_title}}"
delete-branch: true
title: "${{steps.version.outputs.pr_title}}"
body: "${{steps.version.outputs.pr_body}}"
- name: Display output
run: |
echo "Pull Request Number - ${{ steps.pr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.pr.outputs.pull-request-url }}"