Skip to content
Merged
Changes from 1 commit
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
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -700,3 +700,35 @@ jobs:
is_stable: ${{ needs.compute-release-context.outputs.is_stable }}
is_active_major: ${{ needs.compute-release-context.outputs.is_active_major }}
token: ${{ steps.app-token.outputs.token }}

update-azure-pipelines-extension:
name: 🔄 Update Azure Pipelines Extension
runs-on: ubuntu-latest
needs: [compute-release-context, publish-release]
if: needs.compute-release-context.outputs.is_stable == 'true'

steps:
- name: 📦 Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
sparse-checkout: .github/actions
show-progress: false

- name: 🔐 Create GitHub App token
id: app-token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3
with:
app-id: ${{ secrets.ACTIONS_APP_ID }}
private-key: ${{ secrets.ACTIONS_APP_PRIVATE_KEY }}
owner: ChilliCream
repositories: nitro-azure-pipelines-tasks

- name: 🔄 Run extension release workflow
uses: ./.github/actions/dispatch-and-watch-workflow
with:
repo: ChilliCream/nitro-azure-pipelines-tasks
workflow: release.yaml
version: ${{ needs.compute-release-context.outputs.git_tag }}
is_stable: ${{ needs.compute-release-context.outputs.is_stable }}
is_active_major: ${{ needs.compute-release-context.outputs.is_active_major }}
token: ${{ steps.app-token.outputs.token }}
Loading