Skip to content

Bump Python Package #30

Bump Python Package

Bump Python Package #30

name: Bump Python Package
on:
# Can be triggered manually
workflow_dispatch:
inputs:
package:
required: true
description: The python package to bump
jobs:
bump-python-package:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Setup Node Env
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
- name: Setup supersetbot
uses: ./.github/actions/setup-supersetbot/
- name: Install pip-compile-multi
run: pip install pip-compile-multi
- name: Execute custom Node.js script
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git config --global http.https://github.com/.extraheader "AUTHORIZATION: bearer ${{ secrets.GITHUB_TOKEN }}"
supersetbot bump-python --package "${{ github.event.inputs.package }}" --verbose