66 workflow_dispatch :
77 # No inputs are required for the manual dispatch.
88
9+ # NOTE: Temporarily disable automated releases.
10+ #
911 # Runs at 8:00 UTC on Monday, Tuesday, Wednesday, and Thursday. To enable automated
1012 # tagging for a repository, simply add it to the if block of the tag job.
11- schedule :
12- - cron : ' 0 8 * * MON,TUE,WED,THU'
13+ # schedule:
14+ # - cron: '0 8 * * MON,TUE,WED,THU'
1315
1416# Ensure that only a single instance of the workflow is running at a time.
1517concurrency :
@@ -35,13 +37,13 @@ jobs:
3537 steps :
3638 - name : Generate GitHub App Token
3739 id : generate-token
38- uses : actions/create-github-app-token@v2
40+ uses : actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
3941 with :
4042 app-id : ${{ secrets.DECO_SDK_TAGGING_APP_ID }}
4143 private-key : ${{ secrets.DECO_SDK_TAGGING_PRIVATE_KEY }}
4244
4345 - name : Checkout repository
44- uses : actions/checkout@v4
46+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4547 with :
4648 fetch-depth : 0
4749 token : ${{ steps.generate-token.outputs.token }}
@@ -52,14 +54,11 @@ jobs:
5254 git config user.name "Databricks SDK Release Bot"
5355 git config user.email "DECO-SDK-Tagging[bot]@users.noreply.github.com"
5456
55- - name : Install dependencies
56- run : |
57- python -m pip install --upgrade pip
58- pip install PyGithub
57+ - name : Install uv
58+ uses : astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0
5959
6060 - name : Run script
6161 env :
6262 GITHUB_TOKEN : ${{ steps.generate-token.outputs.token }}
6363 GITHUB_REPOSITORY : ${{ github.repository }}
64- run : |
65- python tagging.py
64+ run : uv run --locked tagging.py
0 commit comments