Skip to content

Commit

Permalink
ci: trigger release workflow after creating dev tag (#1610)
Browse files Browse the repository at this point in the history
* ci: trigger release workflow after creating dev tag

* ci: drop git config

* ci: set git user
  • Loading branch information
cbuto authored Sep 21, 2023
1 parent 9ac9d0c commit 3b07ba9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/create-dev-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:

permissions:
contents: write
actions: write

jobs:
create-dev-tag:
Expand All @@ -34,9 +35,6 @@ jobs:
ref: ${{ matrix.branch }}
depth: 0

- name: Configure git for private repo access
run: git config --global url.https://[email protected]/.insteadOf https://github.com/

- name: Setup asdf
uses: asdf-vm/actions/setup@v2

Expand All @@ -58,3 +56,9 @@ jobs:
- name: Push tag
run: git push --force --tags origin ${{ env.TAG }}

- name: Run release workflow
uses: benc-uk/workflow-dispatch@v121
with:
workflow: release.yml
ref: ${{ env.TAG }}
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release

on:
workflow_dispatch:
push:
tags:
- 'v*'
Expand Down

0 comments on commit 3b07ba9

Please sign in to comment.