Skip to content

Commit

Permalink
CI/CD: Reuse test-plugin workflow on release.
Browse files Browse the repository at this point in the history
  • Loading branch information
theodesp committed Oct 9, 2023
1 parent b30ae87 commit 4aca93c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: Release

on:
workflow_run:
workflows: ["Test Plugin", "End-to-End Tests"]
branches: [main]
types:
- completed
release:
types: [published]

jobs:
call-workflow-test-plugin:
uses: ./.github/workflows/test-plugin.yml
release:
name: Release
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test Plugin

on:
workflow_call:
pull_request:
paths-ignore:
- '**/*.md'
Expand Down

0 comments on commit 4aca93c

Please sign in to comment.