Skip to content

Commit

Permalink
ci: fix workflow ordering, so semantic-release finds changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Nov 17, 2023
1 parent db3c41e commit 86aca05
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
with:
github-token: ${{ secrets.GHA_TOKEN }}
dry-run: true
- name:
run:


- uses: docker/build-push-action@v5
with:
build-args: GITHUB_TOKEN=${{ secrets.GHA_TOKEN }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: Release

# on:
# push:
# branches: [main]

on:
push:
workflow_run:
workflows: ["CI"]
branches: [main]
types:
- completed

jobs:
semantic-release:
name: Semantic release
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 86aca05

Please sign in to comment.