-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Internal] Introduce automated tagging
- Loading branch information
1 parent
e11d99a
commit 7cb5953
Showing
4 changed files
with
528 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
Oops, something went wrong.