Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal] Introduce automated tagging #4366

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/tagging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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: ubuntu-latest
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
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
python tagging.py
Empty file added .package.json
Empty file.
16 changes: 16 additions & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# NEXT CHANGELOG

## Release v1.62.2

### New Features and Improvements

### Bug Fixes

### Documentation

### Exporter

### Internal Changes
* Introduced new automated tagging workflow. At the time of this commit,
the workflow must be run manually.

Loading
Loading