Skip to content

Commit

Permalink
[Internal] Introduce automated tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db committed Jan 2, 2025
1 parent e11d99a commit 7cb5953
Show file tree
Hide file tree
Showing 4 changed files with 528 additions and 0 deletions.
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 and release workflow. At the time of this commit,
the workflow must be run manually.

Loading

0 comments on commit 7cb5953

Please sign in to comment.