Skip to content

tagging

tagging #6

Workflow file for this run

name: tagging
on:
workflow_dispatch:
# Enable for automatic tagging
#schedule:
# - cron: '0 0 * * TUE'
# Ensure that only a single instance of the workflow is running at a time.
concurrency:
group: "tagging"
jobs:
tag:
environment: "release-is"
runs-on:
group: databricks-deco-testing-runner-group
labels: ubuntu-latest-deco
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate GitHub App Token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.DECO_SDK_TAGGING_APP_ID }}
private-key: ${{ secrets.DECO_SDK_TAGGING_PRIVATE_KEY }}
# NOTE: actions/create-github-app-token automatically masks the output token,
# so the token is not exposed in the logs even as part of the remote.
- name: Set up Git configuration
run: |
git config user.name "Databricks SDK Release Bot"
git remote set-url origin https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/${{ github.repository }}.git
- name: Run Deco Taggging script
run: |
python tagging.py